Clio
develop
The XRP Ledger API server.
Theme:
Default
Round
Robot
Toggle main menu visibility
Loading...
Searching...
No Matches
RPCCenter.hpp
1
#pragma once
2
3
#include <string_view>
4
5
namespace
rpc
{
6
13
struct
RPCCenter
{
20
static
bool
21
isRpcName
(std::string_view s);
22
29
static
bool
30
isHandled
(std::string_view s);
31
38
static
bool
39
isForwarded
(std::string_view s);
40
};
41
42
}
// namespace rpc
rpc
This namespace contains all the RPC logic and handlers.
Definition
AMMHelpers.cpp:17
rpc::RPCCenter
Registry of RPC commands supported by Clio.
Definition
RPCCenter.hpp:13
rpc::RPCCenter::isForwarded
static bool isForwarded(std::string_view s)
Checks if a string is a RPC command that will be forwarded to rippled.
Definition
RPCCenter.cpp:95
rpc::RPCCenter::isRpcName
static bool isRpcName(std::string_view s)
Checks if a string is a valid RPC command name.
Definition
RPCCenter.cpp:83
rpc::RPCCenter::isHandled
static bool isHandled(std::string_view s)
Checks if a string is a RPC command handled by Clio without forwarding to rippled.
Definition
RPCCenter.cpp:89
src
rpc
RPCCenter.hpp
Generated by
1.17.0