View in context in the libbitcoin Slack #general mirror.
bitcoind compat json-rpc endpoint, the non-variant types can be used directly:
/// HTTP Readers.
/// -----------------------------------------------------------------------
...
/// Read full http json request from the socket, using provided buffer.
virtual void read(http::flat_buffer& buffer, http::json_request& request,
count_handler&& handler) NOEXCEPT;
/// HTTP Writers.
/// -----------------------------------------------------------------------
...
/// Write full http json response to the socket (serialize buffer in body).
virtual void write(http::json_response& response,
count_handler&& handler) NOEXCEPT;