#include <userver/easy.hpp>
template<class Dependency = Dependencies<>>
class easy::HttpWith< Dependency >::Callback
Helper class that can store any callback of the following signatures:
If callback returns formats::json::Value then the default content type is set to application/json
Definition at line 153 of file easy.hpp.
|
template<class Function > |
| Callback (Function func) |
|
HttpBase::Callback | Extract () &&noexcept |
|
◆ Callback()
template<class Dependency >
template<class Function >
◆ Extract()
template<class Dependency = Dependencies<>>
HttpBase::Callback easy::HttpWith< Dependency >::Callback::Extract |
( |
| ) |
&& |
|
inlinenoexcept |
The documentation for this class was generated from the following file: