Serves HTTP requests with the given handler.
Provides an interface to handle HTTP request and responses over TCP or TLSconnections. The method returns an HttpConn
which yields upRequestEvent
events, which utilize the web platform standardRequest
and Response
objects to handle the request.
An instance of the server created using Deno.serve()
API.
Interface that module run with deno serve
subcommand must conform to.
Information for a HTTP request.
Options which can be set when calling Deno.serve
.
Additional options which are used when opening a TLS (HTTPS) server.
Information for a unix domain socket HTTP request.
The async iterable that is returned from serveHttp
whichyields up RequestEvent
events, representing individualrequests on the HTTP server connection.
The event yielded from an HttpConn
which represents an HTTPrequest from a remote client.
A handler for HTTP requests. Consumes a request and returns a response.
A handler for unix domain socket HTTP requests. Consumes a request and returns a response.