class Response

Defined at line 760 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/wire_types.h

A response to an HTTP request.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_net_http::wire::Response> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_net_http::wire::Response> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_http::wire::Response>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Response ()

Defined at line 762 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/wire_types.h

void Response (const Response & other)

Defined at line 763 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/wire_types.h

void Response (Response && other)

Defined at line 765 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/wire_types.h

void _CloseHandles ()
::fuchsia_net_http::wire::Error & error ()

If the response resulted in a network level error, this field will be

set.

bool has_error ()
::zx::socket & body ()

The response body.

bool has_body ()
::fidl::StringView & final_url ()

The final URL of the response, after redirects have been followed.

bool has_final_url ()
Response & operator= (const Response & other)

Defined at line 764 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/wire_types.h

Response & operator= (Response && other)

Defined at line 766 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/wire_types.h

uint32_t & status_code ()

The HTTP status code.

bool has_status_code ()
::fidl::VectorView<uint8_t> & status_line ()

The HTTP status line.

bool has_status_line ()
::fidl::VectorView< ::fuchsia_net_http::wire::Header> & headers ()

The HTTP response headers.

bool has_headers ()
::fuchsia_net_http::wire::RedirectTarget & redirect ()

A description of the redirect the server requested, if any.

bool has_redirect ()
void ~Response ()

Defined at line 768 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder