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

x/oak/router.ts>Router#prefix

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Go to Latest
method Router.prototype.prefix
import { Router } from "https://deno.land/x/oak@v17.0.0/router.ts";

Set the router prefix for this router.

Parameters

prefix: string