Constructors
constructor
- new NextReceiver(nextApp: NextServer, __namedParameters?: NextReceiverOptions): NextReceiver
Parameters
nextApp: NextServer
__namedParameters: NextReceiverOptions = {}
Methods
handleHmrUpgrade
- handleHmrUpgrade(req: IncomingMessage, socket: Socket, _head: Buffer, __namedParameters: RoutingInfo): void
Parameters
req: IncomingMessage
socket: Socket
_head: Buffer
Returns void
handleRequest
- handleRequest(req: IncomingMessage, res: ServerResponse): void
Parameters
req: IncomingMessage
res: ServerResponse
Returns void