class RedirectTarget

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

A description of the redirect the server requested.

The semantics of an HTTP redirect vary according to the status code use to

generate the redirect. This structure ensures that the loader and its client

agree on the interpretation of the redirect response from the server.

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::RedirectTarget> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

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

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

void RedirectTarget ()

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

void RedirectTarget (const RedirectTarget & other)

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

RedirectTarget & operator= (const RedirectTarget & other)

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

void RedirectTarget (RedirectTarget && other)

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

::fidl::StringView & method ()

The HTTP method the server suggested for the redirect.

bool has_method ()
RedirectTarget & operator= (RedirectTarget && other)

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

::fidl::StringView & url ()

The URL the server suggested for the redirect.

bool has_url ()
::fidl::StringView & referrer ()

The referrer the server suggested for the redirect.

bool has_referrer ()
void ~RedirectTarget ()

Defined at line 497 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