Module SocketIO::SocketIO

Provides classes for working with server-side socket.io code (npm package socket.io).

We model three concepts: servers, namespaces, and sockets. A server has one or more namespaces associated with it, each identified by a path name. There is always a default namespace associated with the path “/”. Data flows between client and server side through sockets, with each socket belonging to a namespace on a server.

Classes

NamespaceNode

A data flow node that may produce a namespace object.

NamespaceObject

A socket.io namespace.

ReceiveNode

A data flow node representing an API call that receives data from a client.

SendNode

A data flow node representing an API call that sends data to a client.

ServerNode

A data flow node that may produce (that is, create or return) a socket.io server.

ServerObject

A socket.io server.

SocketNode

A data flow node that may produce a socket object.