Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fsrouter/private/deps/std/http.ts

A file system based router for Deno.
Go to Latest
import * as fsrouter from "https://deno.land/x/fsrouter@2.8.0/private/deps/std/http.ts";

Variables

A map of HttpErrors that are unique instances for each HTTP error status code.

Functions

A type guard that determines if the value is an HttpError or not.

Serves HTTP requests with the given handler.

Interfaces

Information about the connection a request arrived on.

Type Aliases

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