Function ScuteHandler

  • Parameters

    • context: {
          cookies: (() => ReadonlyRequestCookies);
          headers: (() => Headers);
      }
      • cookies: (() => ReadonlyRequestCookies)
          • (): ReadonlyRequestCookies
          • Returns ReadonlyRequestCookies

      • headers: (() => Headers)
          • (): Headers
          • Returns Headers

    Returns ((req) => ReturnType<typeof ScuteRouteHandler>)

      • (req): ReturnType<typeof ScuteRouteHandler>
      • Parameters

        • req: NextRequest

        Returns ReturnType<typeof ScuteRouteHandler>

  • Parameters

    • req: NextRequest

    Returns ReturnType<typeof ScuteEdgeApiHandler>

  • Parameters

    • req: NextApiRequest
    • res: NextApiResponse<any>

    Returns ReturnType<typeof ScuteNodeApiHandler>

Generated using TypeDoc