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

x/oak_http_proxy/test/deps.ts>Oak.isRedirectStatus

Proxy middleware for Deno Oak HTTP servers. 🐿 🦕
Latest
function Oak.isRedirectStatus
import { Oak } from "https://deno.land/x/oak_http_proxy@2.3.0/test/deps.ts";
const { isRedirectStatus } = Oak;

A type guard that determines if the status code is a redirection.

Parameters

status: number