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

x/oak_http_proxy/test/deps.ts>Oak.Router.url

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

Generate a URL pathname based on the provided path, interpolating the optional params provided. Also accepts an optional set of options.

Type Parameters

R extends string

Parameters

path: R
optional
params: RouteParams<R>
optional
options: UrlOptions

Returns

string