View in context in the libbitcoin Slack #general mirror.
http::request and http::response), and a single proxy method for each:
/// HTTP Readers.
/// -----------------------------------------------------------------------
/// Read full http variant request from the socket, using provided buffer.
virtual void read(http::flat_buffer& buffer, http::request& request,
count_handler&& handler) NOEXCEPT;
...
/// HTTP Writers.
/// -----------------------------------------------------------------------
/// Write full http variant response to the socket (json buffer in body).
virtual void write(http::response& response,
count_handler&& handler) NOEXCEPT;
... (edited)