#include <userver/clients/http/response.hpp>
Class that will be returned for successful request.
Definition at line 119 of file response.hpp.
|
using | CookiesMap = server::http::Cookie::CookiesMap |
|
|
static void | RaiseForStatus (int code, const LocalStats &stats) |
|
◆ CookiesMap
using clients::http::Response::CookiesMap = server::http::Cookie::CookiesMap |
◆ body() [1/2]
std::string && clients::http::Response::body |
( |
| ) |
&& |
|
inline |
◆ body() [2/2]
std::string clients::http::Response::body |
( |
| ) |
const & |
|
inline |
◆ body_view()
std::string_view clients::http::Response::body_view |
( |
| ) |
const |
|
inline |
◆ cookies() [1/2]
CookiesMap & clients::http::Response::cookies |
( |
| ) |
|
|
inline |
◆ cookies() [2/2]
const CookiesMap & clients::http::Response::cookies |
( |
| ) |
const |
|
inline |
◆ GetStats()
LocalStats clients::http::Response::GetStats |
( |
| ) |
const |
returns statistics on request execution like count of opened sockets, connect time...
◆ headers() [1/2]
Headers & clients::http::Response::headers |
( |
| ) |
|
|
inline |
◆ headers() [2/2]
const Headers & clients::http::Response::headers |
( |
| ) |
const |
|
inline |
◆ IsError()
bool clients::http::Response::IsError |
( |
| ) |
const |
|
inline |
◆ IsOk()
bool clients::http::Response::IsOk |
( |
| ) |
const |
|
inline |
◆ SetStats()
void clients::http::Response::SetStats |
( |
const LocalStats & | stats | ) |
|
|
inline |
◆ SetStatusCode()
void clients::http::Response::SetStatusCode |
( |
Status | status_code | ) |
|
|
inline |
◆ sink_string()
std::string & clients::http::Response::sink_string |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: