Kagome
Polkadot Runtime Engine in C++17
kagome::api::rpc::request::Methods Class Referencefinal

#include <methods.hpp>

Collaboration diagram for kagome::api::rpc::request::Methods:

Public Member Functions

 Methods (Methods const &)=delete
 
Methodsoperator= (Methods const &)=delete
 
 Methods (Methods &&)=default
 
Methodsoperator= (Methods &&)=default
 
 Methods (std::shared_ptr< RpcApi > api)
 
 ~Methods ()=default
 
outcome::result< void > init (const jsonrpc::Request::Parameters &params)
 
outcome::result< primitives::RpcMethodsexecute ()
 

Private Attributes

std::shared_ptr< RpcApiapi_
 

Detailed Description

Request processor for RPC method 'rpc_methods' This method returns list of supported RPC methods

Definition at line 25 of file methods.hpp.

Constructor & Destructor Documentation

kagome::api::rpc::request::Methods::Methods ( Methods const &  )
delete
kagome::api::rpc::request::Methods::Methods ( Methods &&  )
default
kagome::api::rpc::request::Methods::Methods ( std::shared_ptr< RpcApi api)
inlineexplicit

Definition at line 33 of file methods.hpp.

kagome::api::rpc::request::Methods::~Methods ( )
default

Member Function Documentation

outcome::result< primitives::RpcMethods > kagome::api::rpc::request::Methods::execute ( )

Definition at line 21 of file methods.cpp.

outcome::result< void > kagome::api::rpc::request::Methods::init ( const jsonrpc::Request::Parameters &  params)

Definition at line 12 of file methods.cpp.

Methods& kagome::api::rpc::request::Methods::operator= ( Methods const &  )
delete
Methods& kagome::api::rpc::request::Methods::operator= ( Methods &&  )
default

Member Data Documentation

std::shared_ptr<RpcApi> kagome::api::rpc::request::Methods::api_
private

Definition at line 43 of file methods.hpp.


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