Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/http/server.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.63.0/http/server.ts";

Functions

Parse addr from string

Start an HTTP server with given options and request handler

Start an HTTPS server with given options and request handler

Create a HTTP server

Create an HTTPS server with given options

Interfaces

Interface of HTTP server response. If body is a Reader, response would be chunked. If body is a string, it would be UTF-8 encoded by default.

Type Aliases

Options for creating an HTTP server.

Options for creating an HTTPS server.