import * as danet from "https://deno.land/x/danet@1.5.0/src/deps.ts";
Classes
A class which registers middleware (via | |
Provides context about the current request and response to middleware
functions, and the current instance being processed is the first argument
provided a | |
An interface to control what response will be sent when the middleware finishes processing the request. | |
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. |
Functions
Given a context, return the | |
Set text color to green. | |
f red | Set text color to red. |
A default metadata decorator factory that can be used on a class, class member, or parameter. | |
Set text color to white. | |
Set text color to yellow. |
Interfaces
Middleware are functions which are chained together to deal with requests. | |