template <typename BuilderImpl>

class WireTableBaseBuilder

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

Public Methods

::fuchsia_net_http::wire::Request Build ()

Build and return the table. The builder should not be used after this.

bool has_method ()
void clear_method ()

Clears the method field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::StringView & method ()

The HTTP method if applicable.

Defaults to "GET".

BuilderImpl & method (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

The HTTP method if applicable.

Defaults to "GET".

bool has_url ()
void clear_url ()

Clears the url field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

::fidl::StringView & url ()

The URL to load.

Required.

BuilderImpl & url (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)

The URL to load.

Required.

bool has_headers ()
void clear_headers ()

Clears the headers field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

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

Additional HTTP request headers.

BuilderImpl & headers (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_net_http::wire::Header>>> elem)

Additional HTTP request headers.

bool has_body ()
void clear_body ()

Clears the body field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

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

BuilderImpl & body (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_net_http::wire::Body>> elem)

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_deadline ()
void clear_deadline ()

Clears the deadline field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

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.

BuilderImpl & deadline (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

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.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_net_http::wire::Request, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_http::wire::Request>> && frame)

Records