Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/bun_tea/core/context.ts>AppContext#redirect

Fast, Bun-powered, and Bun-only(for now) Web API framework with full Typescript support.
Latest
method AppContext.prototype.redirect
import { AppContext } from "https://deno.land/x/bun_tea@v0.0.1-alpha.20/core/context.ts";

Redirect to the given URL

Parameters

url: string
optional
statusCode: number = [UNSUPPORTED]