Bytemaster's Boost Libraries
|
#include <message.hpp>
Public Member Functions | |
message (const std::string &name) | |
message (const std::string &name, const std::string ¶m) | |
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_object > | error |
Used in case of errors. |
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.