|
Malloy
|
#include <connection_plain.hpp>


Public Member Functions | |
| connection_plain (std::shared_ptr< spdlog::logger > logger, boost::asio::ip::tcp::socket &&socket, boost::beast::flat_buffer buffer, std::shared_ptr< const std::filesystem::path > doc_root, std::shared_ptr< handler > router) | |
| malloy::tcp::stream & | stream () |
| malloy::tcp::stream | release_stream () |
| void | run () |
| void | do_close () |
| Public Member Functions inherited from malloy::server::http::connection< connection_plain > | |
| connection (std::shared_ptr< spdlog::logger > logger, boost::beast::flat_buffer buffer, std::shared_ptr< handler > router, std::shared_ptr< const std::filesystem::path > http_doc_root) | |
| std::shared_ptr< spdlog::logger > | logger () const noexcept |
| void | do_write (boost::beast::http::message< isRequest, Body, Fields > &&msg) |
| void | do_read () |
Additional Inherited Members | |
| Public Attributes inherited from malloy::server::http::connection< connection_plain > | |
| struct config | cfg |
| Protected Member Functions inherited from malloy::server::http::connection< connection_plain > | |
| void | report_err (malloy::error_code ec, std::string_view context) |
| Protected Attributes inherited from malloy::server::http::connection< connection_plain > | |
| boost::beast::flat_buffer | m_buffer |
A plain connection.
|
inline |
Close the connection.
|
inlinenodiscard |
Release the stream.
|
inline |
Start the asynchronous operation