Skip to main content
Module

x/acorn/deps.ts

A focused RESTful server framework for Deno 🌰🦕
Go to Latest
import * as acorn from "https://deno.land/x/acorn@0.1.0/deps.ts";

Classes

The base class that all derivative HTTP extend, providing a status and an expose property.

Enums

Standard HTTP status codes.

Variables

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

A record of all the status codes text.

Functions

Returns an array of media types accepted by the request, in order of preference. If there are no media types supplied in the request, then any media type selector will be returned.

Given an extension or media type, return a full Content-Type or Content-Disposition header value.

Create an instance of an HttpError based on the status code provided.

A type guard that determines if the status code is a client error.

A type guard that determines if the status code is an error.

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

A type guard that determines if the status code is informational.

A type guard that determines if the status code is a redirection.

A type guard that determines if the status code is a server error.

A type guard that determines if the status code is successful.

Interfaces

An abstract interface for a keyring which handles signing of data based on a string based digest.

Type Aliases

Types of data that can be signed cryptographically.

Types of keys that can be used to sign data.