- handleCallback(req, ctx, options?): Response | Promise<Response>
Returns Response | Promise<Response>
- handleCallback(req, res, options?): unknown
Parameters
req: NextApiRequest
res: NextApiResponse<any>
Returns unknown
- handleCallback(req, resOrOpts, options?): unknown
Parameters
req: NextApiRequest | NextRequest
Returns unknown
- handleCallback(provider?): Handler<CallbackOptions>
- handleCallback(options?): Handler<CallbackOptions>