Template Struct context< AuxT, RequestT, void >¶
Defined in File context.h
Inheritance Relationships¶
Base Type¶
public udho::detail::context_common< AuxT, RequestT >(Template Struct context_common)
Struct Documentation¶
-
template<typename
AuxT, typenameRequestT>
structudho::context<AuxT, RequestT, void> : public udho::detail::context_common<AuxT, RequestT>¶ A Stateless context passed to all callables along with the arguments. he context is always the first argument to the callable. Even if the callable takes no arguments, it must take the context as the first argument. A stateless context should be used in callables that need not to use session states.
- Note
instead of instantiating this template directly use udho::contexts::stateless
- Template Parameters
AuxT: bridge between the server and the callableRequestT: HTTP request type
Public Functions
-
template<typename
OtherShadowT>context(context<AuxT, RequestT, OtherShadowT> &other)¶