|
CCF
|
#include <http_session.h>
Inherits ccf::ThreadedSession.
Inherited by http::HTTPClientSession, and http::HTTPServerSession.
Public Member Functions | |
| virtual bool | parse (std::span< const uint8_t > data)=0 |
| void | send_data (std::span< const uint8_t > data) override |
| void | send_data_thread (std::vector< uint8_t > &&data) override |
| void | close_session () override |
| void | handle_incoming_data_thread (std::vector< uint8_t > &&data) override |
Public Member Functions inherited from ccf::ThreadedSession | |
| ThreadedSession (int64_t thread_affinity) | |
| void | handle_incoming_data (std::span< const uint8_t > data) override |
| void | send_data (std::span< const uint8_t > data) override |
Public Member Functions inherited from ccf::Session | |
| virtual | ~Session ()=default |
Protected Member Functions | |
| HTTPSession (::tcp::ConnID session_id_, ringbuffer::AbstractWriterFactory &writer_factory, std::unique_ptr< ccf::tls::Context > ctx, const std::shared_ptr< ErrorReporter > &error_reporter=nullptr) | |
Protected Attributes | |
| std::shared_ptr< ccf::TLSSession > | tls_io |
| std::shared_ptr< ErrorReporter > | error_reporter |
| ::tcp::ConnID | session_id |
Additional Inherited Members | |
Static Public Member Functions inherited from ccf::ThreadedSession | |
| static void | handle_incoming_data_cb (std::unique_ptr<::threading::Tmsg< SendRecvMsg > > msg) |
| static void | send_data_cb (std::unique_ptr<::threading::Tmsg< SendRecvMsg > > msg) |
|
inlineprotected |
|
inlineoverridevirtual |
Implements ccf::Session.
|
inlineoverridevirtual |
Implements ccf::ThreadedSession.
|
pure virtual |
Implemented in http::HTTPServerSession, and http::HTTPClientSession.
|
inlineoverridevirtual |
Implements ccf::Session.
|
inlineoverridevirtual |
Implements ccf::ThreadedSession.
|
protected |
|
protected |
|
protected |