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

This is the complete list of members for jsonrpc::endpoint::RpcEndpoint, including all inherited members.

CreateClient(asio::any_io_executor executor, std::unique_ptr< transport::Transport > transport) -> asio::awaitable< std::expected< std::unique_ptr< RpcEndpoint >, RpcError > >jsonrpc::endpoint::RpcEndpointstatic
HasPendingRequests() const -> booljsonrpc::endpoint::RpcEndpoint
IsRunning() const -> booljsonrpc::endpoint::RpcEndpointinline
Logger() -> std::shared_ptr< spdlog::logger >jsonrpc::endpoint::RpcEndpointinline
operator=(const RpcEndpoint &) -> RpcEndpoint &=deletejsonrpc::endpoint::RpcEndpoint
operator=(RpcEndpoint &&) -> RpcEndpoint &=deletejsonrpc::endpoint::RpcEndpoint
RegisterMethodCall(std::string method, typename Dispatcher::MethodCallHandler handler)jsonrpc::endpoint::RpcEndpoint
RegisterMethodCall(std::string method, std::function< asio::awaitable< ResultType >(ParamsType)> handler)jsonrpc::endpoint::RpcEndpoint
RegisterMethodCall(std::string method, std::function< asio::awaitable< std::expected< ResultType, ErrorType > >(ParamsType)> handler)jsonrpc::endpoint::RpcEndpoint
RegisterNotification(std::string method, typename Dispatcher::NotificationHandler handler)jsonrpc::endpoint::RpcEndpoint
RegisterNotification(std::string method, std::function< asio::awaitable< std::expected< void, ErrorType > >(ParamsType)> handler)jsonrpc::endpoint::RpcEndpoint
RpcEndpoint(asio::any_io_executor executor, std::unique_ptr< transport::Transport > transport, std::shared_ptr< spdlog::logger > logger=nullptr)jsonrpc::endpoint::RpcEndpointexplicit
RpcEndpoint(const RpcEndpoint &)=deletejsonrpc::endpoint::RpcEndpoint
RpcEndpoint(RpcEndpoint &&)=deletejsonrpc::endpoint::RpcEndpoint
SendMethodCall(std::string method, std::optional< nlohmann::json > params=std::nullopt) -> asio::awaitable< std::expected< nlohmann::json, RpcError > >jsonrpc::endpoint::RpcEndpoint
SendMethodCall(std::string method, ParamsType params) -> asio::awaitable< std::expected< ResultType, RpcError > > requires(ToJson< ParamsType > &&NotJsonLike< ParamsType > &&FromJson< ResultType >)jsonrpc::endpoint::RpcEndpoint
SendNotification(std::string method, std::optional< nlohmann::json > params=std::nullopt) -> asio::awaitable< std::expected< void, RpcError > >jsonrpc::endpoint::RpcEndpoint
SendNotification(std::string method, ParamsType params) -> asio::awaitable< std::expected< void, RpcError > > requires(ToJson< ParamsType > &&NotJsonLike< ParamsType >)jsonrpc::endpoint::RpcEndpoint
Shutdown() -> asio::awaitable< std::expected< void, RpcError > >jsonrpc::endpoint::RpcEndpoint
Start() -> asio::awaitable< std::expected< void, RpcError > >jsonrpc::endpoint::RpcEndpoint
WaitForShutdown() -> asio::awaitable< std::expected< void, RpcError > >jsonrpc::endpoint::RpcEndpoint
~RpcEndpoint()=defaultjsonrpc::endpoint::RpcEndpoint