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

#include <connection_tls.hpp>

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

Public Member Functions

 connection_tls (std::shared_ptr< spdlog::logger > logger, boost::asio::ip::tcp::socket &&socket, std::shared_ptr< boost::asio::ssl::context > ctx, boost::beast::flat_buffer buffer, std::shared_ptr< const std::filesystem::path > doc_root, std::shared_ptr< handler > router)
 
boost::beast::ssl_stream< malloy::tcp::stream<> > & stream ()
 
boost::beast::ssl_stream< malloy::tcp::stream<> > release_stream ()
 
void run ()
 
void on_handshake (boost::beast::error_code ec, const std::size_t bytes_used)
 
void do_close ()
 
void on_shutdown (boost::beast::error_code ec)
 
- Public Member Functions inherited from malloy::server::http::connection< connection_tls >
 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_tls >
struct config cfg
 
- Protected Member Functions inherited from malloy::server::http::connection< connection_tls >
void report_err (malloy::error_code ec, std::string_view context)
 
- Protected Attributes inherited from malloy::server::http::connection< connection_tls >
boost::beast::flat_buffer m_buffer
 

Detailed Description

A TLS connection.


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