node-red-contrib-socketio-server 0.1.5

A Node-Red node for Socket.IO server

npm install node-red-contrib-socketio-server

A Node-Red node for Socket.IO server.

Nodes

  • socket.io-instance: create a Socket.IO server instance.
  • socket.io-on: listen for specific event.
  • socket.io-emit: send data for a specific event to clients.
  • socket.io-join-room: join a room.
  • socket.io-leave-room: leave a room.
  • socket.io-middleware-start & socket.io-middleware-end: for middleware.

Note: Do not print any msg that contains the msg.socket. Otherwise it will cause "RangeError: Maximum call stack size exceeded" error. see issues #1.

Tutorial

You can find tutorial here.

License

The code in this project is licensed under MIT license.

Node Info

Version: 0.1.5
Updated 3 years, 2 months ago
License: MIT
Rating: 5.0 2

Actions

Rate:

Downloads

8 in the last week

Nodes

  • socket.io-instance
  • socket.io-on
  • socket.io-emit
  • socket.io-join-room
  • socket.io-leave-room
  • socket.io-middleware-start
  • socket.io-middleware-end

Keywords

  • node-red
  • socket.io
  • websocket
  • namespace

Maintainers