class Body

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

The body of an HTTP request.

Public Methods

void Body ()
void ~Body ()
void Body (Body && other)
Body & operator= (Body && other)
bool has_invalid_tag ()
bool is_buffer ()
Body WithBuffer (::fidl::ObjectView< ::fuchsia_mem::wire::Buffer> val)

A buffer that will contain the complete request or response body.

template <typename... Args>
Body WithBuffer (::fidl::AnyArena & allocator, Args &&... args)

A buffer that will contain the complete request or response body.

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

::fuchsia_mem::wire::Buffer & buffer ()

A buffer that will contain the complete request or response body.

const ::fuchsia_mem::wire::Buffer & buffer ()

A buffer that will contain the complete request or response body.

bool is_stream ()
Body WithStream (::zx::socket val)

A socket that will contain the streaming request or response body.

::zx::socket & stream ()

A socket that will contain the streaming request or response body.

const ::zx::socket & stream ()

A socket that will contain the streaming request or response body.

::fuchsia_net_http::wire::Body::Tag Which ()
void _CloseHandles ()

Enumerations

enum Tag
Name Value
kBuffer 1
kStream 2

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