template <>
class Server
Defined at line 325 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/natural_messaging.h
Public Methods
void OnResponse (OnResponseRequest & 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 Server ()
Defined at line 328 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/natural_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 ~Server ()
Defined at line 329 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/natural_messaging.h