Warudo
29 个评价
Send Websocket Message Nodes
   
奖励
收藏
已收藏
取消收藏
类型: 插件
文件大小
发表于
34.846 KB
2024 年 4 月 18 日 下午 2:53
1 项改动说明 ( 查看 )

订阅以下载
Send Websocket Message Nodes

描述
Plugin to allow websockets to be created and messages to be sent on these connections.

Messages are created using a templating scheme, this allows a single node to be used for any message. Any word wrapped in the template identifier e.g. {{TEST}} will be created as a DataInput which can then be assigned a value from other nodes. This input is a string value so other data may have to be converted before being used. An example of this would be:

Templated Message: Hello this is a {{DataInput}}

Data Input: Test

Output Message: Hello this is a Test

A new node has also been created to allow the string response for each custom websocket to be returned as a string. Each node can pick which websocket it should listen to and will only get the messages from that websocket asset.
1 条留言
Pandemonia 2024 年 8 月 11 日 下午 12:48 
Do you think you can implement a re-connection parameter for the "Send Websocket" asset? I'd like to set this to let's say, every 5 seconds or so.