Function createRedirectResponse
- createRedirectResponse(
location: string | NavigateInstruction,
status?: HTTPRedirectCode,
options?: { body?: string; headers?: Record<string, string> | Headers },
): WebResponseParameters
- location: string | NavigateInstruction
- status: HTTPRedirectCode = HTTPSuccessCode.SeeOther
Optional
options: { body?: string; headers?: Record<string, string> | Headers }Optional statuscode and headers
Returns WebResponse
Create a redirect response