# redirectMiddleware Decorator

Module
import { redirectMiddleware } from "@tsed/common"
Source/packages/common/src/mvc/decorators/method/redirect.ts

# Overview

const redirectMiddleware: (status: string | number, url?: string | undefined) => (request: Req, response: Res, next: TsED.NextFunction) => void;