Module http

Module http 

Source
Expand description

HTTP servers.

HttpServer is the supervised server, and is what new code should use: it runs as a child of whatever supervisor it is added to, binds its listener during initialization, and drains in-flight connections before it reports being done. UnsupervisedHttpServer is the older, self-spawning form, kept only until its remaining callers move over.

Structsยง

ErrorHandle
A future that resolves when UnsupervisedHttpServer encounters an unrecoverable error.
HttpServer
An HTTP server.
UnsupervisedHttpServer
An HTTP server that spawns and manages itself.