Implements
AppServer
Constructors
Constructor
new NextServer(): NextServer
Returns
NextServer
Methods
handler()
handler(Defined in: index.ts:30 Handle incoming HTTP requests using Next.js.req,res):void
Parameters
| Parameter | Type | Description |
|---|---|---|
req | Request | Express request object |
res | Response | Express response object |
Returns
void
Implementation of
AppServer.handler
init()
init():Defined in: index.ts:17 Initialize the Next.js application and prepare the request handler.Promise<void>
Returns
Promise<void>
Implementation of
AppServer.init