Bytemaster's Boost Libraries
Public Member Functions | Public Attributes
boost::rpc::message Struct Reference

#include <message.hpp>

List of all members.

Public Member Functions

 message (const std::string &name)
 message (const std::string &name, const std::string &param)

Public Attributes

optional< signed_int > id
 Used to pair request/response.
optional< signed_int > method_id
 Used for effecient calls.
optional< std::string > method
 Used to call by name.
optional< std::string > params
 JSON Param Array.
optional< std::string > result
 Return value.
optional< error_objecterror
 Used in case of errors.

Detailed Description

This RPC message class is designed to work with the JSON-RPC 2.0 Specification, but should also serve well for Google Protocol Buffer spec.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Defines