|
CCF
|
#include <stream.h>
Inherits ccf::grpc::Stream< T >.
Public Member Functions | |
| DetachedStream (const Stream< T > &s, http::StreamOnCloseCallback close_cb_=nullptr) | |
| ~DetachedStream () | |
| bool | close (const GrpcAdapterEmptyResponse &resp) |
Public Member Functions inherited from ccf::grpc::Stream< T > | |
| Stream (const std::shared_ptr< ccf::http::HTTPResponder > &r, http_status s=HTTP_STATUS_OK, const http::HeaderMap &h=default_response_headers) | |
| Stream (const Stream &s) | |
| Stream (Stream &&)=delete | |
| bool | stream_msg (const T &msg) |
Additional Inherited Members | |
Protected Member Functions inherited from ccf::grpc::BaseStream | |
| BaseStream (const std::shared_ptr< ccf::http::HTTPResponder > &r) | |
| BaseStream (const BaseStream &)=default | |
| void | start_stream (http_status status=HTTP_STATUS_OK, const http::HeaderMap &headers=default_response_headers) |
| bool | stream_data (std::span< const uint8_t > data) |
| bool | close_stream (http::HeaderMap &&trailers) |
| void | set_on_close_callback (http::StreamOnCloseCallback close_cb) |
|
inline |
|
inline |
|
inline |