template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 882 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::Response Build ()
Build and return the table. The builder should not be used after this.
bool has_error ()
void clear_error ()
Clears the error field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_net_http::wire::Error & error ()
If the response resulted in a network level error, this field will be
set.
BuilderImpl & error (::fuchsia_net_http::wire::Error elem)
If the response resulted in a network level error, this field will be
set.
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.
::zx::socket & body ()
The response body.
BuilderImpl & body (::zx::socket elem)
The response body.
bool has_final_url ()
void clear_final_url ()
Clears the final_url field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::StringView & final_url ()
The final URL of the response, after redirects have been followed.
BuilderImpl & final_url (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::StringView>> elem)
The final URL of the response, after redirects have been followed.
bool has_status_code ()
void clear_status_code ()
Clears the status_code field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & status_code ()
The HTTP status code.
BuilderImpl & status_code (uint32_t elem)
The HTTP status code.
bool has_status_line ()
void clear_status_line ()
Clears the status_line field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView<uint8_t> & status_line ()
The HTTP status line.
BuilderImpl & status_line (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView<uint8_t>>> elem)
The HTTP status line.
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 ()
The HTTP response headers.
BuilderImpl & headers (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_net_http::wire::Header>>> elem)
The HTTP response headers.
bool has_redirect ()
void clear_redirect ()
Clears the redirect field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_net_http::wire::RedirectTarget & redirect ()
A description of the redirect the server requested, if any.
BuilderImpl & redirect (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_net_http::wire::RedirectTarget>> elem)
A description of the redirect the server requested, if any.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_net_http::wire::Response, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_net_http::wire::Response>> && frame)