#include <http_session.h>
Inherits ccf::EncryptedSession, http::RequestProcessor, and ccf::http::HTTPResponder.
|
| | HTTPServerSession (std::shared_ptr< ccf::RPCMap > rpc_map_, ::tcp::ConnID session_id_, ccf::ListenInterfaceID interface_id_, ringbuffer::AbstractWriterFactory &writer_factory, std::unique_ptr< ccf::tls::Context > ctx, const ccf::http::ParserConfiguration &configuration, const std::shared_ptr< ErrorReporter > &error_reporter_=nullptr) |
| |
| bool | parse (std::span< const uint8_t > data) override |
| |
| void | handle_request (llhttp_method verb, const std::string_view &url, ccf::http::HeaderMap &&headers, std::vector< uint8_t > &&body, int32_t) override |
| |
| bool | send_response (ccf::http_status status_code, ccf::http::HeaderMap &&headers, ccf::http::HeaderMap &&trailers, std::vector< uint8_t > &&body) override |
| |
| void | send_data_thread (std::vector< uint8_t > &&data) override |
| |
| void | handle_incoming_data_thread (std::vector< uint8_t > &&data) override |
| |
| void | close_session_thread () override |
| |
| | ThreadedSession (int64_t session_id) |
| |
| | ~ThreadedSession () override |
| |
| void | handle_incoming_data (std::span< const uint8_t > data) override |
| |
| void | send_data (std::vector< uint8_t > &&data) override |
| |
| void | close_session () override |
| |
| virtual | ~Session ()=default |
| |
| virtual | ~RequestProcessor ()=default |
| |
| virtual | ~HTTPResponder ()=default |
| |
| bool | send_odata_error_response (ccf::ErrorDetails &&error) |
| |
◆ HTTPServerSession()
◆ handle_request()
| void http::HTTPServerSession::handle_request |
( |
llhttp_method |
verb, |
|
|
const std::string_view & |
url, |
|
|
ccf::http::HeaderMap && |
headers, |
|
|
std::vector< uint8_t > && |
body, |
|
|
int32_t |
|
|
) |
| |
|
inlineoverridevirtual |
◆ parse()
| bool http::HTTPServerSession::parse |
( |
std::span< const uint8_t > |
data | ) |
|
|
inlineoverridevirtual |
◆ send_response()
The documentation for this class was generated from the following file: