Kagome
Polkadot Runtime Engine in C++17
|
Returns currently connected peers. More...
#include <peers.hpp>
Public Member Functions | |
Peers (std::shared_ptr< SystemApi > &api) | |
outcome::result< Return > | execute () override |
Public Member Functions inherited from kagome::api::details::RequestType< jsonrpc::Value::Array > | |
RequestType ()=default | |
RequestType (const RequestType &)=delete | |
RequestType (RequestType &&)=delete | |
virtual | ~RequestType ()=default |
RequestType & | operator= (const RequestType &)=delete |
RequestType & | operator= (RequestType &&)=delete |
outcome::result< void > | init (const jsonrpc::Request::Parameters ¶ms) |
auto | getParam () -> typename std::tuple_element< I, decltype(params_)>::type & |
Private Attributes | |
std::shared_ptr< SystemApi > | api_ |
Additional Inherited Members | |
Public Types inherited from kagome::api::details::RequestType< jsonrpc::Value::Array > | |
using | Params = std::tuple< ArgumentTypes... > |
using | Return = jsonrpc::Value::Array |
Returns currently connected peers.
|
inlineexplicit |
|
inlineoverridevirtual |
|
private |