method Response.redirectResponse.redirect(url: string | URL,status?: number,): ResponseDeprecatedParametersurl: string | URLoptionalstatus: numberReturn TypeResponse