|
Bytemaster's Boost Libraries
|
Sends and receives JSON-RPC over a TCP connection. More...
#include <connection.hpp>
Public Types | |
|
typedef boost::cmt::retainable_ptr < connection > | ptr |
|
typedef boost::cmt::asio::tcp::socket::ptr | sock_ptr |
Public Member Functions | |
| connection (const sock_ptr &s) | |
| bool | connect (const std::string &hostname, const std::string &port) |
| bool | is_connected () const |
| void | send (const boost::json::Value &v) |
| void | start () |
Sends and receives JSON-RPC over a TCP connection.