Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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