#include <connection.hpp>
Public Types | |
typedef boost::shared_ptr < connection > | ptr |
Public Member Functions | |
template<typename String > | |
connection (String &&host, uint16_t port=80) | |
connection (const boost::asio::ip::tcp::endpoint &ep) | |
connection (const mace::cmt::asio::tcp::socket::ptr &sock) | |
reply | send (request &&r) |
Protected Member Functions | |
connection (mace::rpc::http::detail::connection *b) |
Manages HTTP requests.
Supports keep-alive for sending multiple requests over the same port.
Definition at line 17 of file connection.hpp.