CCF
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ccf::http::HTTPResponder Class Referenceabstract

#include <http_responder.h>

Inherited by http::HTTP2ServerSession, http::HTTP2StreamResponder, and http::HTTPServerSession.

Public Member Functions

virtual ~HTTPResponder ()=default
 
virtual bool send_response (http_status status_code, http::HeaderMap &&headers, http::HeaderMap &&trailers, std::vector< uint8_t > &&body)=0
 
bool send_odata_error_response (ccf::ErrorDetails &&error)
 

Constructor & Destructor Documentation

◆ ~HTTPResponder()

virtual ccf::http::HTTPResponder::~HTTPResponder ( )
virtualdefault

Member Function Documentation

◆ send_odata_error_response()

bool ccf::http::HTTPResponder::send_odata_error_response ( ccf::ErrorDetails &&  error)
inline

◆ send_response()

virtual bool ccf::http::HTTPResponder::send_response ( http_status  status_code,
http::HeaderMap &&  headers,
http::HeaderMap &&  trailers,
std::vector< uint8_t > &&  body 
)
pure virtual

The documentation for this class was generated from the following file: