import * as mod from "https://deno.land/std@0.117.0/http/server.ts";
Functions
_parseAddrFromStr | Parse an address from a string. |
listenAndServe 👎 deprecated | |
listenAndServeTls 👎 deprecated | |
serve | Serves HTTP requests with the given handler. |
serveListener | Constructs a server, accepts incoming connections on the given listener, and handles requests on these connections with the given handler. |
serveTls | Serves HTTPS requests with the given handler. |
Interfaces
ConnInfo | Information about the connection a request arrived on. |
ServeInit | Additional serve options. |
ServerInit | Options for running an HTTP server. |
Type Aliases
Handler | A handler for HTTP requests. Consumes a request and connection information and returns a response. |