Skip to main content
Module

x/abc/mod.ts>Context#redirect

A better Deno framework to create web application.
Latest
method Context.prototype.redirect
Re-export
import { Context } from "https://deno.land/x/abc@v1.3.3/mod.ts";

Redirects a response to a specific URL. the code defaults to 302 if omitted

Parameters

url: string
optional
code = [UNSUPPORTED]