class Request

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

An HTTP request.

Public Methods

void Request (Storage_ storage)
bool IsEmpty ()
void Request ()

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

void Request (Request && )

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

const std::optional< ::std::string> & method ()

The HTTP method if applicable.

Defaults to "GET".

::std::optional< ::std::string> & method ()

The HTTP method if applicable.

Defaults to "GET".

Request & method (std::optional< ::std::string> value)

The HTTP method if applicable.

Defaults to "GET".

Request & operator= (Request && )

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

const std::optional< ::std::string> & url ()

The URL to load.

Required.

::std::optional< ::std::string> & url ()

The URL to load.

Required.

Request & url (std::optional< ::std::string> value)

The URL to load.

Required.

const std::optional< ::std::vector< ::fuchsia_net_http::Header>> & headers ()

Additional HTTP request headers.

::std::optional< ::std::vector< ::fuchsia_net_http::Header>> & headers ()

Additional HTTP request headers.

Request & headers (std::optional< ::std::vector< ::fuchsia_net_http::Header>> value)

Additional HTTP request headers.

const std::optional< ::fuchsia_net_http::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.

::std::optional< ::fuchsia_net_http::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.

Request & body (std::optional< ::fuchsia_net_http::Body> value)

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.

const std::optional<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.

::std::optional<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.

Request & deadline (std::optional<int64_t> value)

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.

void Request (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits