BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface 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

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

Definition at line 24 of file state.hpp.

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.

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

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

Definition at line 34 of file state.hpp.

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

Definition at line 31 of file state.hpp.

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

Definition at line 32 of file state.hpp.

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: