NodeWebSocketFactoryBase class

Represents an abstract NodeWebSocketFactoryBase class to create a WebSocket.

Methods

createWebSocket(INodeIncomingMessage, INodeSocket, INodeBuffer)

Method Details

createWebSocket(INodeIncomingMessage, INodeSocket, INodeBuffer)

function createWebSocket(req: INodeIncomingMessage, socket: INodeSocket, head: INodeBuffer): Promise<ISocket>

Parameters

socket
INodeSocket

Returns

Promise<ISocket>