Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mandarinets from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/deps.ts";

§Classes

Application

A class which registers middleware (via .use()) and then processes inbound requests against that middleware (via .listen()).

Context

Provides context about the current request and response to middleware functions.

Cookies

An interface which allows setting and accessing cookies related to both the current request and response.

FormDataReader

A class which provides an interface to access the fields of a multipart/form-data body.

Leaf
Request

An interface which provides information about the current request.

Response

An interface to control what response will be sent when the middleware finishes processing the request.

Router

An interface for registering middleware that will run when certain HTTP methods and paths are requested, as well as provides a way to parameterize parts of the requested path.

§Enums

Status

HTTP status codes

§Functions

isHttpError
send

Asynchronously fulfill a response with a file from the local file system.

§Interfaces

ListenOptionsBase
ListenOptionsTls
Middleware

Middleware are functions which are chained together to deal with requests.