#include <userver/server/request/response_base.hpp>
Base class for all the server responses.
Definition at line 75 of file response_base.hpp.
|
| ResponseBase (ResponseDataAccounter &data_accounter) |
|
| ResponseBase (const ResponseBase &)=delete |
|
| ResponseBase (ResponseBase &&)=delete |
|
void | SetData (std::string data) |
|
const std::string & | GetData () const |
|
std::string && | ExtractData () |
|
virtual bool | IsBodyStreamed () const =0 |
|
virtual bool | WaitForHeadersEnd ()=0 |
|
virtual void | SetHeadersEnd ()=0 |
|
|
| 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) |
|
◆ ExtractData()
std::string && server::request::ResponseBase::ExtractData |
( |
| ) |
|
|
inline |
◆ GetData()
const std::string & server::request::ResponseBase::GetData |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: