xrpld
Toggle main menu visibility
Loading...
Searching...
No Matches
include
xrpl
protocol
JsonRpc.h
1
#pragma once
2
3
#include <
string_view
>
4
5
namespace
xrpl::rpc
{
6
7
// Constants of the JSON-RPC 2.0 protocol itself.
8
//
9
// Kept apart from the `api_version` and `ripplerpc` constants in ApiVersion.h,
10
// which go when support for API versions 1 and 2 goes.
11
16
inline
constexpr
std::string_view
kJsonRpcVersion
{
"2.0"
};
17
18
}
// namespace xrpl::rpc
std::string_view
xrpl::rpc
The api_version numbers this server serves.
Definition
ApiVersion.h:26
xrpl::rpc::kJsonRpcVersion
constexpr std::string_view kJsonRpcVersion
Value of the jsonrpc member of a request and of its reply, fixed at "2.0" by the JSON-RPC specificati...
Definition
JsonRpc.h:16
string_view
Generated by
1.17.0