node-red-contrib-socketio-client-with-dynamic-listener-emitter 0.1.5

Node Red client to work with socket.io server

npm install node-red-contrib-socketio-client-with-dynamic-listener-emitter

Nodes

  1. Socket.IO Emitter
  2. Socket.IO Listener

How to use

Socket.IO Connector -> Socket.IO Listener -> Payload

1. Socket.IO Emitter

We can create dynamic emittor node. ie the event name and message are created runtime based on the input's message payload. From message payload we accept eventName as 'msg.payload.eventName' and emitted message as 'msg.payload.message'.

2. Socket.IO Listener

We can create dynamic listener node. ie the event name is created runtime based on the input's message payload. From message payload we accept eventName as 'msg.payload.eventName'.

Node Info

Version: 0.1.5
Updated 4 years, 7 months ago
License: MIT
Rating: 5.0 1

Actions

Rate:

Downloads

1 in the last week

Nodes

  • socketio-config
  • socketio-connector
  • socketio-listener
  • socketio-emitter

Keywords

  • node-red
  • socket.io

Maintainers