96 lines
No EOL
2.1 KiB
JSON
96 lines
No EOL
2.1 KiB
JSON
[
|
|
{
|
|
"id": "759c0b2b.8a0484",
|
|
"type": "websocket in",
|
|
"z": "a8360b47.074ec8",
|
|
"name": "",
|
|
"server": "",
|
|
"client": "1d80bd86.93f372",
|
|
"x": 340,
|
|
"y": 520,
|
|
"wires": [
|
|
[
|
|
"1f7a7454.cb65ec"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"id": "1f7a7454.cb65ec",
|
|
"type": "debug",
|
|
"z": "a8360b47.074ec8",
|
|
"name": "",
|
|
"active": true,
|
|
"tosidebar": true,
|
|
"console": false,
|
|
"tostatus": false,
|
|
"complete": "false",
|
|
"statusVal": "",
|
|
"statusType": "auto",
|
|
"x": 550,
|
|
"y": 520,
|
|
"wires": []
|
|
},
|
|
{
|
|
"id": "aa2fe781.e92b28",
|
|
"type": "inject",
|
|
"z": "a8360b47.074ec8",
|
|
"name": "",
|
|
"props": [
|
|
{
|
|
"p": "payload"
|
|
},
|
|
{
|
|
"p": "topic",
|
|
"vt": "str"
|
|
}
|
|
],
|
|
"repeat": "",
|
|
"crontab": "",
|
|
"once": false,
|
|
"onceDelay": 0.1,
|
|
"topic": "",
|
|
"payload": "Goodbye, World!",
|
|
"payloadType": "str",
|
|
"x": 300,
|
|
"y": 460,
|
|
"wires": [
|
|
[
|
|
"f8bdbc9b.d82dd"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"id": "f8bdbc9b.d82dd",
|
|
"type": "websocket out",
|
|
"z": "a8360b47.074ec8",
|
|
"name": "",
|
|
"server": "40bd4295.3e4ecc",
|
|
"client": "",
|
|
"x": 460,
|
|
"y": 460,
|
|
"wires": []
|
|
},
|
|
{
|
|
"id": "c3fbc602.2e7f08",
|
|
"type": "comment",
|
|
"z": "a8360b47.074ec8",
|
|
"name": "Connect to websocket out server",
|
|
"info": "`websocket out` node can connect to web socket server. `websocket in` node can serve a web socket server.\n",
|
|
"x": 290,
|
|
"y": 420,
|
|
"wires": []
|
|
},
|
|
{
|
|
"id": "1d80bd86.93f372",
|
|
"type": "websocket-client",
|
|
"path": "ws://localhost:1880/ws2",
|
|
"tls": "",
|
|
"wholemsg": "false"
|
|
},
|
|
{
|
|
"id": "40bd4295.3e4ecc",
|
|
"type": "websocket-listener",
|
|
"path": "/ws2",
|
|
"wholemsg": "false"
|
|
}
|
|
] |