xrpld
Loading...
Searching...
No Matches
JsonRpc.h
1#pragma once
2
3#include <string_view>
4
5namespace 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
16inline constexpr std::string_view kJsonRpcVersion{"2.0"};
17
18} // namespace xrpl::rpc
The api_version numbers this server serves.
Definition ApiVersion.h:26
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