template <>
class WireServer
Defined at line 787 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::LoaderClient>|
and |::fidl::ServerEnd
<
::fuchsia_net_http::LoaderClient>|).
Public Methods
void OnResponse (::fuchsia_net_http::wire::LoaderClientOnResponseRequest * request, OnResponseCompleter::Sync & completer)
Called by the loader when the loader receives an HTTP response.
If the server has requested a redirect, then `redirect` in `response`
table will describe the target the server requested. To follow the
redirect, reply to this message. To not follow the redirect, close the
underlying channel.
void WireServer ()
Defined at line 790 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 791 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/wire_messaging.h