Kagome
Polkadot Runtime Engine in C++17
kagome::api::system::request::Version Class Referencefinal

Get the node implementation's version. Should be a semver string. More...

#include <version.hpp>

Collaboration diagram for kagome::api::system::request::Version:

Public Member Functions

 Version (const Version &)=delete
 
Versionoperator= (const Version &)=delete
 
 Version (Version &&)=default
 
Versionoperator= (Version &&)=default
 
 Version (std::shared_ptr< SystemApi > api)
 
 ~Version ()=default
 
outcome::result< void > init (const jsonrpc::Request::Parameters &params)
 
outcome::result< std::string > execute ()
 

Private Attributes

std::shared_ptr< SystemApiapi_
 

Detailed Description

Get the node implementation's version. Should be a semver string.

See also
https://github.com/w3f/PSPs/blob/psp-rpc-api/psp-002.md#system_version

Definition at line 23 of file version.hpp.

Constructor & Destructor Documentation

kagome::api::system::request::Version::Version ( const Version )
delete
kagome::api::system::request::Version::Version ( Version &&  )
default
kagome::api::system::request::Version::Version ( std::shared_ptr< SystemApi api)
explicit

Definition at line 14 of file version.cpp.

kagome::api::system::request::Version::~Version ( )
default

Member Function Documentation

outcome::result< std::string > kagome::api::system::request::Version::execute ( )

Definition at line 26 of file version.cpp.

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

Definition at line 18 of file version.cpp.

Version& kagome::api::system::request::Version::operator= ( const Version )
delete
Version& kagome::api::system::request::Version::operator= ( Version &&  )
default

Member Data Documentation

std::shared_ptr<SystemApi> kagome::api::system::request::Version::api_
private

Definition at line 39 of file version.hpp.


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