BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Public Attributes | List of all members
fc::rpc::response Struct Reference

#include <state.hpp>

Public Member Functions

 response ()
 
 response (const optional< variant > &_id, const variant &_result, const optional< string > &version=optional< string >())
 
 response (const optional< variant > &_id, const error_object &error, const optional< string > &version=optional< string >())
 

Public Attributes

optional< variantid
 
optional< std::string > jsonrpc
 
optional< fc::variantresult
 
optional< error_objecterror
 

Detailed Description

Definition at line 22 of file state.hpp.

Constructor & Destructor Documentation

◆ response() [1/3]

fc::rpc::response::response ( )
inline

Definition at line 24 of file state.hpp.

◆ response() [2/3]

fc::rpc::response::response ( const optional< variant > &  _id,
const variant _result,
const optional< string > &  version = optional<string>() 
)
inline

Definition at line 25 of file state.hpp.

◆ response() [3/3]

fc::rpc::response::response ( const optional< variant > &  _id,
const error_object error,
const optional< string > &  version = optional<string>() 
)
inline

Definition at line 28 of file state.hpp.

Member Data Documentation

◆ error

optional<error_object> fc::rpc::response::error

Definition at line 34 of file state.hpp.

◆ id

optional<variant> fc::rpc::response::id

Definition at line 31 of file state.hpp.

◆ jsonrpc

optional<std::string> fc::rpc::response::jsonrpc

Definition at line 32 of file state.hpp.

◆ result

optional<fc::variant> fc::rpc::response::result

Definition at line 33 of file state.hpp.


The documentation for this struct was generated from the following file: