CCF
|
Typedefs | |
using | JsonAdapterResponse = std::variant< ErrorDetails, RedirectDetails, nlohmann::json > |
Functions | |
nlohmann::json | get_json_params (const std::shared_ptr< ccf::RpcContext > &ctx) |
void | set_response (JsonAdapterResponse &&res, std::shared_ptr< ccf::RpcContext > &ctx) |
using ccf::jsonhandler::JsonAdapterResponse = typedef std::variant<ErrorDetails, RedirectDetails, nlohmann::json> |
nlohmann::json ccf::jsonhandler::get_json_params | ( | const std::shared_ptr< ccf::RpcContext > & | ctx | ) |
void ccf::jsonhandler::set_response | ( | JsonAdapterResponse && | res, |
std::shared_ptr< ccf::RpcContext > & | ctx | ||
) |