class Body
Defined at line 124 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/natural_types.h
The body of an HTTP request.
Public Methods
void Body (Body && other)
Body & operator= (Body && other)
::fuchsia_net_http::Body::Tag Which ()
Body WithBuffer (::fuchsia_mem::Buffer val)
const ::fidl::internal::UnionMemberView<1, Storage_> buffer ()
::fidl::internal::UnionMemberView<1, Storage_> buffer ()
Body & buffer (::fuchsia_mem::Buffer value)
A buffer that will contain the complete request or response body.
Body WithStream (::zx::socket val)
const ::fidl::internal::UnionMemberView<2, Storage_> stream ()
::fidl::internal::UnionMemberView<2, Storage_> stream ()
Body & stream (::zx::socket value)
A socket that will contain the streaming request or response body.
void Body (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kBuffer | 1 |
| kStream | 2 |
TODO: share union tag types between wire
&
natural.
Defined at line 132 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits