class Response
Defined at line 376 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/natural_types.h
A response to an HTTP request.
Public Methods
void Response ()
Defined at line 382 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/natural_types.h
void Response (Response && )
Defined at line 383 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/natural_types.h
void Response (Storage_ storage)
bool IsEmpty ()
const std::optional< ::fuchsia_net_http::Error> & error ()
If the response resulted in a network level error, this field will be
set.
::std::optional< ::fuchsia_net_http::Error> & error ()
If the response resulted in a network level error, this field will be
set.
Response & error (std::optional< ::fuchsia_net_http::Error> value)
If the response resulted in a network level error, this field will be
set.
const std::optional< ::zx::socket> & body ()
The response body.
::std::optional< ::zx::socket> & body ()
The response body.
Response & body (std::optional< ::zx::socket> value)
The response body.
const std::optional< ::std::string> & final_url ()
The final URL of the response, after redirects have been followed.
::std::optional< ::std::string> & final_url ()
The final URL of the response, after redirects have been followed.
Response & final_url (std::optional< ::std::string> value)
The final URL of the response, after redirects have been followed.
Response & operator= (Response && )
Defined at line 384 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/natural_types.h
const std::optional<uint32_t> & status_code ()
The HTTP status code.
::std::optional<uint32_t> & status_code ()
The HTTP status code.
Response & status_code (std::optional<uint32_t> value)
The HTTP status code.
const std::optional< ::std::vector<uint8_t>> & status_line ()
The HTTP status line.
::std::optional< ::std::vector<uint8_t>> & status_line ()
The HTTP status line.
Response & status_line (std::optional< ::std::vector<uint8_t>> value)
The HTTP status line.
const std::optional< ::std::vector< ::fuchsia_net_http::Header>> & headers ()
The HTTP response headers.
::std::optional< ::std::vector< ::fuchsia_net_http::Header>> & headers ()
The HTTP response headers.
Response & headers (std::optional< ::std::vector< ::fuchsia_net_http::Header>> value)
The HTTP response headers.
const std::optional< ::fuchsia_net_http::RedirectTarget> & redirect ()
A description of the redirect the server requested, if any.
::std::optional< ::fuchsia_net_http::RedirectTarget> & redirect ()
A description of the redirect the server requested, if any.
Response & redirect (std::optional< ::fuchsia_net_http::RedirectTarget> value)
A description of the redirect the server requested, if any.
void Response (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits