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
libraries/easy/samples/4_custom_dependency/main.cpp, and libraries/easy/samples/5_pg_service_template/src/main.cpp.

Definition at line 129 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 131 of file easy.hpp.

Member Function Documentation

◆ RegisterOn()

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

Definition at line 133 of file easy.hpp.


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