class Request

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

An HTTP request.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

void Request ()

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

void Request (const Request & other)

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

Request & operator= (const Request & other)

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

void Request (Request && other)

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

void _CloseHandles ()
::fidl::WireTableBuilder< ::fuchsia_net_http::wire::Request> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

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

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

::fidl::StringView & method ()

The HTTP method if applicable.

Defaults to "GET".

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

Defined at line 107 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 to load.

Required.

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

Additional HTTP request headers.

bool has_headers ()
::fuchsia_net_http::wire::Body & body ()

The payload for the request body. For HTTP requests, the method must be

set to "POST" or "PUT". If a buffer is used for the body, a

Content-Length header will automatically be added.

bool has_body ()
int64_t & deadline ()

Determines when to give up on waiting for a response from the server. If no deadline is

provided, the implementation will provide a reasonable default.

bool has_deadline ()
void ~Request ()

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