#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_, 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_) |
| |
| 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::vector< uint8_t > &&body) override |
| |
| bool | start_stream (ccf::http_status status, ccf::http::HeaderMap &&headers) |
| |
| bool | stream_data (std::vector< uint8_t > &&data) |
| |
| bool | close_stream (ccf::http::HeaderMap &&trailers) |
| |
| bool | set_on_stream_close_callback (HTTP2StreamResponder::StreamOnCloseCallback cb) |
| |
| 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) |
| |
◆ HTTP2ServerSession()
◆ 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::vector< uint8_t > && |
data | ) |
|
|
inline |
The documentation for this class was generated from the following file: