Class WebsocketIOServer
Class defined in:src/node-websocket.io.js:239
Server socket object
WebsocketIOServer
( data
)
src/node-websocket.io.js:239
Parameters:
-
data
<Object>object containing .server or .port information
onconnection
( callback
)
src/node-websocket.io.js:256
Setting a callback when a connection happens
Parameters:-
callback
<Function>function taking the new client (WebsocketIO) as parameter