The HTTP connection class is only used by the tcp_adaptor and ssl_tcp_adaptor which are simply wrappers around the ASIO::ip::tcp::socket and ASIO::ssl::stream respectively.
The overall design could be simplified by redesigning the connection class to use the asio tcp and ssl sockets directly.
The HTTP respectively.
connection
class is only used by thetcp_adaptor
andssl_tcp_adaptor
which are simply wrappers around theASIO::ip::tcp::socket
and ASIO::ssl::streamThe overall design could be simplified by redesigning the
connection
class to use the asio tcp and ssl sockets directly.