Module

x/oak/middleware/serve.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
import * as mod from "https://dotland.deno.dev/x/oak@v14.0.0/middleware/serve.ts";

Functions

Wrap a handler function to generate middleware that can be used with an oak Router. This allows the handler to deal with a Fetch API standard Request and return a standard Response.

Wrap a handler function to generate middleware that can be used with an oak Application. This allows the handler to deal with a Fetch API standard Request and return a standard Response.