#include <http2_parser.h>
Inherits http2::Parser.
|
| ServerParser (http::RequestProcessor &proc_, const ccf::http::ParserConfiguration &configuration_) |
|
void | set_on_stream_close_callback (StreamId stream_id, StreamCloseCB cb) |
|
void | respond (StreamId stream_id, ccf::http_status status, const ccf::http::HeaderMap &headers, ccf::http::HeaderMap &&trailers, std::span< const uint8_t > body) |
|
void | start_stream (StreamId stream_id, ccf::http_status status, const ccf::http::HeaderMap &headers) |
|
void | send_data (StreamId stream_id, std::span< const uint8_t > data) |
|
void | close_stream (StreamId stream_id, ccf::http::HeaderMap &&trailers) |
|
virtual void | handle_completed (StreamId stream_id, StreamData *stream_data) override |
|
| Parser (const ccf::http::ParserConfiguration &configuration_, bool is_client=false) |
|
virtual | ~Parser () |
|
StreamId | get_last_stream_id () const override |
|
ccf::http::ParserConfiguration | get_configuration () const override |
|
void | set_outgoing_data_handler (DataHandlerCB &&cb) |
|
void | store_stream (StreamId stream_id, const std::shared_ptr< StreamData > &stream_data) |
|
std::shared_ptr< StreamData > | get_stream (StreamId stream_id) override |
|
std::shared_ptr< StreamData > | create_stream (StreamId stream_id) override |
|
void | destroy_stream (StreamId stream_id) override |
|
bool | execute (const uint8_t *data, size_t size) |
|
void | send_all_submitted () |
|
virtual | ~AbstractParser ()=default |
|
◆ ServerParser()
◆ close_stream()
◆ handle_completed()
virtual void http2::ServerParser::handle_completed |
( |
StreamId |
stream_id, |
|
|
StreamData * |
stream_data |
|
) |
| |
|
inlineoverridevirtual |
◆ respond()
◆ send_data()
void http2::ServerParser::send_data |
( |
StreamId |
stream_id, |
|
|
std::span< const uint8_t > |
data |
|
) |
| |
|
inline |
◆ set_on_stream_close_callback()
◆ start_stream()
The documentation for this class was generated from the following file: