#include <http2_session.h>
Inherits ccf::EncryptedSession, http::RequestProcessor, and ccf::http::HTTPResponder.
|
| HTTP2ServerSession (std::shared_ptr< ccf::RPCMap > rpc_map, int64_t session_id_, const 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, http::ResponderLookup &responder_lookup_) |
|
| ~HTTP2ServerSession () |
|
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 stream_id) override |
|
bool | send_response (ccf::http_status status_code, ccf::http::HeaderMap &&headers, ccf::http::HeaderMap &&trailers, std::span< const uint8_t > body) override |
|
bool | start_stream (ccf::http_status status, const ccf::http::HeaderMap &headers) override |
|
bool | stream_data (std::span< const uint8_t > data) override |
|
bool | close_stream (ccf::http::HeaderMap &&trailers) override |
|
bool | set_on_stream_close_callback (ccf::http::StreamOnCloseCallback cb) override |
|
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 |
|
| 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 |
|
virtual | ~Session ()=default |
|
virtual | ~HTTPResponder ()=default |
|
bool | send_odata_error_response (ccf::ErrorDetails &&error) |
|
◆ HTTP2ServerSession()
◆ ~HTTP2ServerSession()
http::HTTP2ServerSession::~HTTP2ServerSession |
( |
| ) |
|
|
inline |
◆ close_stream()
◆ handle_request()
void http::HTTP2ServerSession::handle_request |
( |
llhttp_method |
verb, |
|
|
const std::string_view & |
url, |
|
|
ccf::http::HeaderMap && |
headers, |
|
|
std::vector< uint8_t > && |
body, |
|
|
int32_t |
stream_id |
|
) |
| |
|
inlineoverridevirtual |
◆ parse()
bool http::HTTP2ServerSession::parse |
( |
std::span< const uint8_t > |
data | ) |
|
|
inlineoverridevirtual |
◆ send_response()
◆ set_on_stream_close_callback()
◆ start_stream()
◆ stream_data()
bool http::HTTP2ServerSession::stream_data |
( |
std::span< const uint8_t > |
data | ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: