HTTP Server - Deno documentation

Functions

f
Deno.serve

Serves HTTP requests with the given handler.

f
Deno.serveHttp

Provides an interface to handle HTTP request and responses over TCP or TLS connections. The method returns an HttpConn which yields up RequestEvent events, which utilize the web platform standard Request and Response objects to handle the request.

Interfaces

I
Deno.HttpServer

An instance of the server created using Deno.serve() API.

I
Deno.ServeHandlerInfo

Information for a HTTP request.

I
Deno.ServeInit
No documentation available
I
Deno.ServeOptions

Options which can be set when calling Deno.serve.

I
Deno.ServeTlsInit
No documentation available
I
Deno.ServeTlsOptions

Additional options which are used when opening a TLS (HTTPS) server.

I
Deno.ServeUnixHandlerInfo

Information for a unix domain socket HTTP request.

I
Deno.ServeUnixInit
No documentation available
I
Deno.ServeUnixOptions
No documentation available
I
Deno.HttpConn

The async iterable that is returned from serveHttp which yields up RequestEvent events, representing individual requests on the HTTP server connection.

I
Deno.RequestEvent

The event yielded from an HttpConn which represents an HTTP request from a remote client.

Type Aliases

T
Deno.ServeHandler

A handler for HTTP requests. Consumes a request and returns a response.

T
Deno.ServeUnixHandler

A handler for unix domain socket HTTP requests. Consumes a request and returns a response.

T
Deno.Server
No documentation available