JSON-RPC 2.0
JSON-RPC 2.0 Modern C++ Library
|
This is the complete list of members for jsonrpc::endpoint::Response, including all inherited members.
CreateError(RpcErrorCode code, const std::optional< RequestId > &id=std::nullopt) -> Response | jsonrpc::endpoint::Response | static |
CreateError(const RpcError &error, const std::optional< RequestId > &id=std::nullopt) -> Response | jsonrpc::endpoint::Response | static |
CreateError(const nlohmann::json &error, const std::optional< RequestId > &id) -> Response | jsonrpc::endpoint::Response | static |
CreateSuccess(const nlohmann::json &result, const std::optional< RequestId > &id) -> Response | jsonrpc::endpoint::Response | static |
FromJson(const nlohmann::json &json) -> std::expected< Response, error::RpcError > | jsonrpc::endpoint::Response | static |
GetError() const -> const nlohmann::json & | jsonrpc::endpoint::Response | |
GetId() const -> std::optional< RequestId > | jsonrpc::endpoint::Response | |
GetResult() const -> const nlohmann::json & | jsonrpc::endpoint::Response | |
IsSuccess() const -> bool | jsonrpc::endpoint::Response | |
operator=(const Response &) -> Response &=default | jsonrpc::endpoint::Response | |
operator=(Response &&other) noexcept -> Response &=default | jsonrpc::endpoint::Response | |
Response()=default | jsonrpc::endpoint::Response | |
Response(const Response &)=default | jsonrpc::endpoint::Response | |
Response(Response &&other)=default | jsonrpc::endpoint::Response | |
ToJson() const -> nlohmann::json | jsonrpc::endpoint::Response | |
~Response()=default | jsonrpc::endpoint::Response |