class HTTPResponse

Defined at line 22 of file ../../third_party/cobalt/src/public/lib/http_client.h

HTTPResponse contains the response from the server.

This class is move-only since response may be large.

Public Members

basic_string response
Status status
int64_t http_code
map headers

Public Methods

void HTTPResponse ()

Defined at line 29 of file ../../third_party/cobalt/src/public/lib/http_client.h

void HTTPResponse (std::string response, Status status, int64_t http_code, std::map<std::string, std::string> headers)

Defined at line 30 of file ../../third_party/cobalt/src/public/lib/http_client.h

void HTTPResponse (HTTPResponse && )

Defined at line 37 of file ../../third_party/cobalt/src/public/lib/http_client.h

HTTPResponse & operator= (HTTPResponse && )

Defined at line 38 of file ../../third_party/cobalt/src/public/lib/http_client.h

void HTTPResponse (const HTTPResponse & )

Defined at line 40 of file ../../third_party/cobalt/src/public/lib/http_client.h

HTTPResponse & operator= (const HTTPResponse & )

Defined at line 41 of file ../../third_party/cobalt/src/public/lib/http_client.h