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

x/oak_http_proxy/test/deps.ts>Opine.IRouterMatcher

Proxy middleware for Deno Oak HTTP servers. 🐿 🦕
Latest
interface Opine.IRouterMatcher
import { type Opine } from "https://deno.land/x/oak_http_proxy@2.3.0/test/deps.ts";
const { IRouterMatcher } = Opine;

Type Parameters

T
optional
Method extends
| "all"
| "get"
| "post"
| "put"
| "delete"
| "patch"
| "options"
| "head"
= any

Call Signatures

<P extends Params = ParamsDictionary, ResBody = any, ReqBody = any, ReqQuery = any>(path: PathParams, ...handlers: Array<RequestHandler<P, ResBody, ReqQuery>>): T
<P extends Params = ParamsDictionary, ResBody = any, ReqBody = any, ReqQuery = any>(path: PathParams, ...handlers: Array<RequestHandlerParams<P, ResBody>>): T
(path: PathParams, subApplication: Application): T