JSON-RPC 2.0
JSON-RPC 2.0 Modern C++ Library
Loading...
Searching...
No Matches
jsonrpc::endpoint::Response Member List

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) -> Responsejsonrpc::endpoint::Responsestatic
CreateError(const RpcError &error, const std::optional< RequestId > &id=std::nullopt) -> Responsejsonrpc::endpoint::Responsestatic
CreateError(const nlohmann::json &error, const std::optional< RequestId > &id) -> Responsejsonrpc::endpoint::Responsestatic
CreateSuccess(const nlohmann::json &result, const std::optional< RequestId > &id) -> Responsejsonrpc::endpoint::Responsestatic
FromJson(const nlohmann::json &json) -> std::expected< Response, error::RpcError >jsonrpc::endpoint::Responsestatic
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 -> booljsonrpc::endpoint::Response
operator=(const Response &) -> Response &=defaultjsonrpc::endpoint::Response
operator=(Response &&other) noexcept -> Response &=defaultjsonrpc::endpoint::Response
Response()=defaultjsonrpc::endpoint::Response
Response(const Response &)=defaultjsonrpc::endpoint::Response
Response(Response &&other)=defaultjsonrpc::endpoint::Response
ToJson() const -> nlohmann::jsonjsonrpc::endpoint::Response
~Response()=defaultjsonrpc::endpoint::Response