import * as oakNest from "https://deno.land/x/oak_nest@v1.13.17/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 which allows setting and accessing cookies related to both the
current request and response. Each | |
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. | |
An interface which provides information about the current request. The
instance related to the current request is available on the
| |
An interface to control what response will be sent when the middleware finishes processing the request. | |
Validation error description. |
Variables
A symbol that indicates to | |
A record of all the status codes text. |
Functions
Make an assertion, error will be thrown if | |
Set background color to blue. | |
Set background color using 24bit rgb.
| |
Set background color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit | |
f blue | Set text color to blue. |
f bold | Make the text bold. |
Calculate an ETag value for an entity. If the entity is | |
Create an instance of an HttpError based on the status code provided. | |
Format date using format string | |
Set text color to green. | |
f gzip | |
A helper function that takes the value from the | |
A type guard that determines if the value is an HttpError or not. | |
Make the text italic. | |
Middleware that provides a back-to-back proxy for requests. | |
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 using 24bit rgb.
| |
f rgb8 | Set text color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit |
f send | Asynchronously fulfill a response with a file from the local file system. |
Validates given object and reject on error. | |
Set text color to yellow. |
Interfaces
When reading a body in full via | |
Options which impact how the form data is decoded for a
| |
Middleware are functions which are chained together to deal with requests. | |