Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
jrpc
service
author
chain
child_state
impl
internal
payment
rpc
impl
requests
rpc_api.hpp
rpc_jrpc_processor.cpp
rpc_jrpc_processor.hpp
state
system
api_service.hpp
base_request.hpp
transport
application
assets
authority_discovery
authorship
blockchain
clock
common
consensus
containers
crypto
filesystem
host_api
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
runtime
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
rpc_api.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_API_RPCAPI
7
#define KAGOME_API_RPCAPI
8
9
#include "
api/service/api_service.hpp
"
10
#include "
outcome/outcome.hpp
"
11
12
namespace
kagome::api
{
13
14
class
RpcApi
{
15
public
:
16
virtual
~RpcApi
() =
default
;
17
18
virtual
outcome::result<std::vector<std::string>>
methods
()
const
= 0;
19
};
20
21
}
// namespace kagome::api
22
23
#endif // KAGOME_API_RPCAPI
kagome::api::RpcApi
Definition:
rpc_api.hpp:14
outcome.hpp
api_service.hpp
kagome::api::RpcApi::~RpcApi
virtual ~RpcApi()=default
kagome::api::RpcApi::methods
virtual outcome::result< std::vector< std::string > > methods() const =0
kagome::api
Definition:
custom_json_writer.hpp:23
core
api
service
rpc
rpc_api.hpp
Generated by
1.8.11