userver: easy::Dependencies< Dependency > Class Template Reference
Loading...
Searching...
No Matches
easy::Dependencies< Dependency > Class Template Referencefinal

#include <userver/easy.hpp>

Detailed Description

template<class... Dependency>
class easy::Dependencies< Dependency >

Class that combines dependencies passed to HttpWith into a single type, that is passed to callbacks.

See also
Easy - library for single file prototyping
Examples
samples/easy/4_custom_dependency/main.cpp, and samples/easy/5_pg_service_template/src/main.cpp.

Definition at line 189 of file easy.hpp.

Inheritance diagram for easy::Dependencies< Dependency >:

Public Member Functions

 Dependencies (const components::ComponentContext &context)

Static Public Member Functions

static void RegisterOn (HttpBase &app)

Constructor & Destructor Documentation

◆ Dependencies()

template<class... Dependency>
easy::Dependencies< Dependency >::Dependencies ( const components::ComponentContext & context)
inlineexplicit

Definition at line 191 of file easy.hpp.

Member Function Documentation

◆ RegisterOn()

template<class... Dependency>
void easy::Dependencies< Dependency >::RegisterOn ( HttpBase & app)
inlinestatic

Definition at line 193 of file easy.hpp.


The documentation for this class was generated from the following file: