template <>
class Server
Defined at line 154 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/natural_messaging.h
Public Methods
void Fetch (FetchRequest & 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 Server ()
Defined at line 157 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/natural_messaging.h
void Start (StartRequest & 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`.
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 158 of file fidling/gen/sdk/fidl/fuchsia.net.http/fuchsia.net.http/cpp/fidl/fuchsia.net.http/cpp/natural_messaging.h