Malloy
Loading...
Searching...
No Matches
Public Member Functions | List of all members
malloy::server::http::connection_plain Class Reference

#include <connection_plain.hpp>

Inheritance diagram for malloy::server::http::connection_plain:
Inheritance graph
[legend]
Collaboration diagram for malloy::server::http::connection_plain:
Collaboration graph
[legend]

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::streamstream ()
 
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
 

Detailed Description

A plain connection.

Member Function Documentation

◆ do_close()

void malloy::server::http::connection_plain::do_close ( )
inline

Close the connection.

◆ release_stream()

malloy::tcp::stream malloy::server::http::connection_plain::release_stream ( )
inline

Release the stream.

Returns
The stream.

◆ run()

void malloy::server::http::connection_plain::run ( )
inline

Start the asynchronous operation


The documentation for this class was generated from the following file: