Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak_nest/modules/mysql/example/deps.ts

Refer to nestjs to realize some common functions for Deno
Go to Latest
import * as oakNest from "https://deno.land/x/oak_nest@v1.15.1/modules/mysql/example/deps.ts";

Classes

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

Provides context about the current request and response to middleware functions, and the current instance being processed is the first argument provided a Middleware function.

Enums

Standard HTTP status codes.

Functions

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

Get params by router

get the params from the request, if has key, then return the value which is parse by it`s type

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