|
CCF
|
#include <http2_session.h>
Inherits ccf::http::HTTPResponder.
Public Types | |
| using | StreamOnCloseCallback = http2::StreamCloseCB |
Public Member Functions | |
| HTTP2StreamResponder (http2::StreamId stream_id_, const std::shared_ptr< http2::ServerParser > &server_parser_) | |
| 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 | close_stream (ccf::http::HeaderMap &&trailers) |
| bool | stream_data (std::vector< uint8_t > &&data) |
| bool | set_on_stream_close_callback (StreamOnCloseCallback cb) |
Public Member Functions inherited from ccf::http::HTTPResponder | |
| virtual | ~HTTPResponder ()=default |
| bool | send_odata_error_response (ccf::ErrorDetails &&error) |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements ccf::http::HTTPResponder.
|
inline |
|
inline |
|
inline |