Clio  develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
RPCCenter.hpp
1#pragma once
2
3#include <string_view>
4
5namespace rpc {
6
13struct 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
This namespace contains all the RPC logic and handlers.
Definition AMMHelpers.cpp:18
Registry of RPC commands supported by Clio.
Definition RPCCenter.hpp:13
static bool isForwarded(std::string_view s)
Checks if a string is a RPC command that will be forwarded to rippled.
Definition RPCCenter.cpp:94
static bool isRpcName(std::string_view s)
Checks if a string is a valid RPC command name.
Definition RPCCenter.cpp:82
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:88