NodeWebSocketFactoryBase class
Represents an abstract NodeWebSocketFactoryBase class to create a WebSocket.
Methods
create |
Method Details
createWebSocket(INodeIncomingMessage, INodeSocket, INodeBuffer)
function createWebSocket(req: INodeIncomingMessage, socket: INodeSocket, head: INodeBuffer): Promise<ISocket>
Parameters
- socket
- INodeSocket
- head
- INodeBuffer
Returns
Promise<ISocket>