createRedirectResponse | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function createRedirectResponse

    • Create a redirect response

      Parameters

      • location: string | NavigateInstruction
      • status: HTTPRedirectCode = HTTPSuccessCode.SeeOther
      • Optionaloptions: { body?: string; headers?: Record<string, string> | Headers }

        Optional statuscode and headers

      Returns WebResponse