Skip to main content
Module

x/http_fns/response/redirect.ts>redirect

A bunch of functions for building HTTP servers
Go to Latest
function redirect
import { redirect } from "https://deno.land/x/http_fns@v0.0.27/response/redirect.ts";

Create a redirect response, with a Location header.

Parameters

status: number
statusText: string
location: string | URL
optional
headersInit: HeadersInit