Registry of RPC commands supported by Clio.
More...
#include <RPCCenter.hpp>
|
static bool | isRpcName (std::string_view s) |
| Checks if a string is a valid RPC command name.
|
|
static bool | isHandled (std::string_view s) |
| Checks if a string is a RPC command handled by Clio without forwarding to rippled.
|
|
static bool | isForwarded (std::string_view s) |
| Checks if a string is a RPC command that will be forwarded to rippled.
|
|
Registry of RPC commands supported by Clio.
The RPCCenter maintains lists of RPC commands that can be handled locally and those that need to be forwarded to rippled.
◆ isForwarded()
bool rpc::RPCCenter::isForwarded |
( |
std::string_view | s | ) |
|
|
static |
Checks if a string is a RPC command that will be forwarded to rippled.
- Parameters
-
- Returns
- true if the string is a forwarded RPC command, false otherwise
◆ isHandled()
bool rpc::RPCCenter::isHandled |
( |
std::string_view | s | ) |
|
|
static |
Checks if a string is a RPC command handled by Clio without forwarding to rippled.
- Parameters
-
- Returns
- true if the string is a handled RPC command, false otherwise
◆ isRpcName()
bool rpc::RPCCenter::isRpcName |
( |
std::string_view | s | ) |
|
|
static |
Checks if a string is a valid RPC command name.
- Parameters
-
- Returns
- true if the string is a recognized RPC name, false otherwise
The documentation for this struct was generated from the following files:
- /__w/clio/clio/src/rpc/RPCCenter.hpp
- /__w/clio/clio/src/rpc/RPCCenter.cpp