#include <userver/server/request/response_base.hpp>
Base class for all the server responses.
Definition at line 46 of file response_base.hpp.
Public Member Functions | |
ResponseBase (ResponseDataAccounter &data_accounter) | |
ResponseBase (const ResponseBase &)=delete | |
ResponseBase (ResponseBase &&)=delete | |
void | SetData (std::string data) |
const std::string & | GetData () const |
virtual bool | IsBodyStreamed () const =0 |
virtual bool | WaitForHeadersEnd ()=0 |
virtual void | SetHeadersEnd ()=0 |
Protected Member Functions | |
ResponseBase (ResponseDataAccounter &data_account, std::chrono::steady_clock::time_point now) | |
void | SetSent (std::size_t bytes_sent, std::chrono::steady_clock::time_point sent_time) |
|
inline |
Definition at line 54 of file response_base.hpp.