userver: server::request::ResponseBase Class Reference
No Matches
server::request::ResponseBase Class Referenceabstract

#include <userver/server/request/response_base.hpp>

Detailed Description

Base class for all the server responses.

Definition at line 46 of file response_base.hpp.

+ Inheritance diagram for server::request::ResponseBase:

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)

Member Function Documentation

◆ GetData()

const std::string & server::request::ResponseBase::GetData ( ) const

Definition at line 54 of file response_base.hpp.

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