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

x/oak_nest/test_deps.ts>OriginRouter.url

Refer to nestjs to realize some common functions for Deno
Go to Latest
method OriginRouter.url
import { OriginRouter } from "https://deno.land/x/oak_nest@v1.14.2/test_deps.ts";

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