template <>
class WireServer
Defined at line 457 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_net_http::Loader>|
and |::fidl::ServerEnd
<
::fuchsia_net_http::Loader>|).
Public Methods
void Fetch (::fuchsia_net_http::wire::LoaderFetchRequest * request, FetchCompleter::Sync & completer)
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.
void Start (::fuchsia_net_http::wire::LoaderStartRequest * request, StartCompleter::Sync & completer)
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`.
void WireServer ()
Defined at line 460 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/wire_messaging.h
Handler bind_handler (async_dispatcher_t * dispatcher)
|bind_handler| returns a handler that binds incoming connections to this
server implementation.
The returned handler borrows the server instance.
The server must outlive the provided |dispatcher|. Only after
the dispatcher is shutdown will it be safe to destroy the servers.
The server should not be moved.
void ~WireServer ()
Defined at line 461 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/wire_messaging.h