import * as acorn from "https://deno.land/x/acorn@0.4.0/deps.ts";
Classes
The base class that all derivative HTTP extend, providing a | |
Provides an way to manage cookies in a request and response on the server as a single iterable collection, as well as the ability to sign and verify cookies to prevent tampering. | |
Variables
A namespace that contains each error constructor. Each error extends
| |
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 | |
A factory function which provides a way to create errors. It takes up to 3
arguments, the error | |
Creates a Promise with the | |
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. |
Type Aliases
Types of data that can be signed cryptographically. | |
Types of keys that can be used to sign data. |