#include <userver/easy.hpp>
Helper class that can store any callback of the following signatures:
If callback returns formats::json::Value or accepts a JSON parsable structure then the default content type is set to application/json.
Public Member Functions | |
| template<class Function> | |
| Callback (Function func) | |
| HttpBase::Callback | Extract () &&noexcept |
| easy::HttpWith< Dependency >::Callback::Callback | ( | Function | func | ) |
|
inlinenoexcept |