Creates a new factory, which generates a NextApiHandler<TResponse> function that is used for API endpoints in Next.js.
NextApiHandler<TResponse>
Optional
Custom options.
The new factory function.
Generated using TypeDoc
Creates a new factory, which generates a
NextApiHandler<TResponse>
function that is used for API endpoints in Next.js.