lynx-framework
Version:
lynx is a NodeJS framework for Web Development, based on decorators and the async/await support.
15 lines (14 loc) • 392 B
TypeScript
import Response from "./response";
import { Request as ERequest, Response as EResponse } from "express";
/**
* Generation of a redirect response.
*/
export default class RedirectResponse extends Response {
private path;
/**
* Base constructor
* @param path the redirect path
*/
constructor(path: string);
performResponse(_: ERequest, res: EResponse): void;
}