Kagome
Polkadot Runtime Engine in C++17
kagome::api::RpcApiImpl Class Referencefinal

#include <rpc_api_impl.hpp>

Inheritance diagram for kagome::api::RpcApiImpl:
Collaboration diagram for kagome::api::RpcApiImpl:

Public Member Functions

 RpcApiImpl (std::shared_ptr< JRpcServer > server)
 
outcome::result< std::vector< std::string > > methods () const override
 
- Public Member Functions inherited from kagome::api::RpcApi
virtual ~RpcApi ()=default
 

Private Attributes

std::shared_ptr< JRpcServerserver_
 

Detailed Description

Definition at line 14 of file rpc_api_impl.hpp.

Constructor & Destructor Documentation

kagome::api::RpcApiImpl::RpcApiImpl ( std::shared_ptr< JRpcServer server)

Definition at line 12 of file rpc_api_impl.cpp.

Member Function Documentation

outcome::result< std::vector< std::string > > kagome::api::RpcApiImpl::methods ( ) const
overridevirtual

Implements kagome::api::RpcApi.

Definition at line 17 of file rpc_api_impl.cpp.

Member Data Documentation

std::shared_ptr<JRpcServer> kagome::api::RpcApiImpl::server_
private

Definition at line 21 of file rpc_api_impl.hpp.


The documentation for this class was generated from the following files: