Module 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.

Import path

import javascript

Classes

NamespaceBase

A reference to a namespace object.

NamespaceNode

A data flow node that may produce a namespace object.

NamespaceObject

A socket.io namespace.

ReceiveCallback

An acknowledgment callback when receiving a message.

ReceiveNode

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

SendCallback

An acknowledgment callback registered when sending a message to a client. Responses from clients are received using this callback.

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.

SocketObject

An socket object from SocketIO