template <>
class WireSyncClientImpl
Defined at line 374 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/wire_messaging.h
Methods to make a sync FIDL call directly on an unowned handle or a
const reference to a |::fidl::ClientEnd
<
::fuchsia_net_http::Loader>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_net_http::Loader::Fetch> Fetch (::fuchsia_net_http::wire::Request request)
Initiate the given HTTP or HTTPS request, follow redirects, and return the final
response.
The loader will follow redirects (up to an implementation-defined limit)
and return the final response as a reply to this message. To cancel the
request, close the loader interface.
Request is heap-allocated. Response is heap-allocated.
::fidl::OneWayStatus Start (::fuchsia_net_http::wire::Request request, ::fidl::ClientEnd< ::fuchsia_net_http::LoaderClient> && client)
Initiate the given HTTP or HTTPS request and return all intermediate responses to
the given client.
Unlike `Fetch`, `Start` does not automatically follow all redirects.
Instead, each individual response along the redirect chain is delivered
to the `LoaderClient`.
Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.