mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Remove known unused files
This commit is contained in:
@@ -1,135 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id": "9b2d7459.8dd598",
|
||||
"type": "http in",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "",
|
||||
"url": "/hello-param/:name",
|
||||
"method": "get",
|
||||
"upload": false,
|
||||
"swaggerDoc": "",
|
||||
"x": 290,
|
||||
"y": 900,
|
||||
"wires": [
|
||||
[
|
||||
"83753c80.5e271"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "7fe50f46.46209",
|
||||
"type": "http response",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "",
|
||||
"statusCode": "",
|
||||
"headers": {},
|
||||
"x": 590,
|
||||
"y": 900,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "6e88d2b.828a92c",
|
||||
"type": "comment",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "Handle URL parameters in an HTTP endpoint",
|
||||
"info": "Named path parameters (e.g. `:name`) in the URL property can be used to identify parts of the path that can vary between requests.\n\nThe `msg.req.params` property is an object of key/value pairs for each path parameter.",
|
||||
"x": 290,
|
||||
"y": 860,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "214bc398.b3482c",
|
||||
"type": "http request",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "",
|
||||
"method": "GET",
|
||||
"ret": "txt",
|
||||
"paytoqs": "ignore",
|
||||
"url": "http://localhost:1880/hello-param/Nick",
|
||||
"tls": "",
|
||||
"persist": false,
|
||||
"proxy": "",
|
||||
"authType": "",
|
||||
"x": 390,
|
||||
"y": 1000,
|
||||
"wires": [
|
||||
[
|
||||
"70c0eba4.5f0dc4"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "70c0eba4.5f0dc4",
|
||||
"type": "debug",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "false",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 550,
|
||||
"y": 1000,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "83753c80.5e271",
|
||||
"type": "template",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "page",
|
||||
"field": "payload",
|
||||
"fieldType": "msg",
|
||||
"format": "html",
|
||||
"syntax": "mustache",
|
||||
"template": "<html>\n <head></head>\n <body>\n <h1>Hello {{req.params.name}}!</h1>\n </body>\n</html>",
|
||||
"output": "str",
|
||||
"x": 470,
|
||||
"y": 900,
|
||||
"wires": [
|
||||
[
|
||||
"7fe50f46.46209"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "89523bfe.6e5c18",
|
||||
"type": "inject",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "",
|
||||
"props": [
|
||||
{
|
||||
"p": "payload"
|
||||
},
|
||||
{
|
||||
"p": "topic",
|
||||
"vt": "str"
|
||||
}
|
||||
],
|
||||
"repeat": "",
|
||||
"crontab": "",
|
||||
"once": false,
|
||||
"onceDelay": 0.1,
|
||||
"topic": "",
|
||||
"payload": "",
|
||||
"payloadType": "date",
|
||||
"x": 240,
|
||||
"y": 1000,
|
||||
"wires": [
|
||||
[
|
||||
"214bc398.b3482c"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "6276a6cd.5c3b18",
|
||||
"type": "comment",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "Send HTTP GET request: http://localhost:1880/hello-param/Nick",
|
||||
"info": "`http request` node can be used to send **HTTP GET** request.",
|
||||
"x": 350,
|
||||
"y": 960,
|
||||
"wires": []
|
||||
}
|
||||
]
|
@@ -1,126 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id": "59760c9d.172d94",
|
||||
"type": "http in",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "",
|
||||
"url": "/hello-upload",
|
||||
"method": "post",
|
||||
"upload": true,
|
||||
"swaggerDoc": "",
|
||||
"x": 270,
|
||||
"y": 1980,
|
||||
"wires": [
|
||||
[
|
||||
"e30073f3.ad429"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "d0b3e8b4.2cfde8",
|
||||
"type": "comment",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "Post file to a flow",
|
||||
"info": "The `HTTP In` node can listen for POST requests for file upload. Information for uploaded files can be accessed from `msg.req.files`.\n",
|
||||
"x": 200,
|
||||
"y": 1760,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "a888a043.ebb72",
|
||||
"type": "http in",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "",
|
||||
"url": "/hello-upload",
|
||||
"method": "get",
|
||||
"upload": false,
|
||||
"swaggerDoc": "",
|
||||
"x": 270,
|
||||
"y": 1880,
|
||||
"wires": [
|
||||
[
|
||||
"14b950b.0ed5aaf"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "2ccb67c7.02c568",
|
||||
"type": "http response",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "",
|
||||
"statusCode": "",
|
||||
"headers": {},
|
||||
"x": 590,
|
||||
"y": 1880,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "14b950b.0ed5aaf",
|
||||
"type": "template",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "",
|
||||
"field": "payload",
|
||||
"fieldType": "msg",
|
||||
"format": "html",
|
||||
"syntax": "mustache",
|
||||
"template": "<html>\n <head></head>\n <body>\n <form method=\"POST\" enctype=\"multipart/form-data\">\n <div>\n <label for=\"file\">Select file to upload:</label>\n <input type=\"file\" id=\"file\" name=\"file\"/>\n </div>\n <div>\n <button type=\"submit\">OK</button>\n </div>\n </form>\n </body>\n</html>",
|
||||
"output": "str",
|
||||
"x": 440,
|
||||
"y": 1880,
|
||||
"wires": [
|
||||
[
|
||||
"2ccb67c7.02c568"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "54f2edb5.62fca4",
|
||||
"type": "http response",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "",
|
||||
"statusCode": "",
|
||||
"headers": {},
|
||||
"x": 590,
|
||||
"y": 1980,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "e30073f3.ad429",
|
||||
"type": "template",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "",
|
||||
"field": "payload",
|
||||
"fieldType": "msg",
|
||||
"format": "html",
|
||||
"syntax": "mustache",
|
||||
"template": "<html>\n <head></head>\n <body>\n <h1>Hello {{req.files.0.originalname}}</h1>\n </body>\n</html>",
|
||||
"output": "str",
|
||||
"x": 440,
|
||||
"y": 1980,
|
||||
"wires": [
|
||||
[
|
||||
"54f2edb5.62fca4"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "6c3c1bf.48cc2e4",
|
||||
"type": "comment",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "Create HTTP page for file upload: open http://localhost:1880/hello-upload \\n from Web browser. Then upload a file.",
|
||||
"info": "",
|
||||
"x": 440,
|
||||
"y": 1820,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "c6242caa.8ec63",
|
||||
"type": "comment",
|
||||
"z": "d41b4dd3.ecd6a",
|
||||
"name": "Serve POST request for file upload",
|
||||
"info": "",
|
||||
"x": 320,
|
||||
"y": 1940,
|
||||
"wires": []
|
||||
}
|
||||
]
|
@@ -1,92 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id": "73874b9e.d985b4",
|
||||
"type": "tcp in",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "",
|
||||
"server": "client",
|
||||
"host": "localhost",
|
||||
"port": "1881",
|
||||
"datamode": "single",
|
||||
"datatype": "utf8",
|
||||
"newline": "",
|
||||
"topic": "",
|
||||
"base64": false,
|
||||
"x": 230,
|
||||
"y": 240,
|
||||
"wires": [
|
||||
[
|
||||
"ce332113.d2c31"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "a4bd9948.dfeb58",
|
||||
"type": "tcp out",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"host": "localhost",
|
||||
"port": "1881",
|
||||
"beserver": "server",
|
||||
"base64": false,
|
||||
"end": true,
|
||||
"name": "",
|
||||
"x": 390,
|
||||
"y": 180,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "9f80f9c7.1e3c98",
|
||||
"type": "inject",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "",
|
||||
"props": [
|
||||
{
|
||||
"p": "payload"
|
||||
},
|
||||
{
|
||||
"p": "topic",
|
||||
"vt": "str"
|
||||
}
|
||||
],
|
||||
"repeat": "",
|
||||
"crontab": "",
|
||||
"once": false,
|
||||
"onceDelay": 0.1,
|
||||
"topic": "",
|
||||
"payload": "Hello, World!",
|
||||
"payloadType": "str",
|
||||
"x": 210,
|
||||
"y": 180,
|
||||
"wires": [
|
||||
[
|
||||
"a4bd9948.dfeb58"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "ce332113.d2c31",
|
||||
"type": "debug",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "false",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 410,
|
||||
"y": 240,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "711ed10d.1d765",
|
||||
"type": "comment",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "Connect to TCP out server",
|
||||
"info": "`TCP in` node can connect to network server using tcp protocol. `TCP out` node can serve a network server using tcp procol.\n",
|
||||
"x": 190,
|
||||
"y": 120,
|
||||
"wires": []
|
||||
}
|
||||
]
|
@@ -1,92 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id": "511f8208.c4c20c",
|
||||
"type": "tcp in",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "",
|
||||
"server": "server",
|
||||
"host": "localhost",
|
||||
"port": "1882",
|
||||
"datamode": "single",
|
||||
"datatype": "utf8",
|
||||
"newline": "",
|
||||
"topic": "",
|
||||
"base64": false,
|
||||
"x": 230,
|
||||
"y": 460,
|
||||
"wires": [
|
||||
[
|
||||
"6b8be121.32be9"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "ec0bc4aa.b3c828",
|
||||
"type": "tcp out",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"host": "localhost",
|
||||
"port": "1882",
|
||||
"beserver": "client",
|
||||
"base64": false,
|
||||
"end": true,
|
||||
"name": "",
|
||||
"x": 390,
|
||||
"y": 400,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "17cf7d56.9efb03",
|
||||
"type": "inject",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "",
|
||||
"props": [
|
||||
{
|
||||
"p": "payload"
|
||||
},
|
||||
{
|
||||
"p": "topic",
|
||||
"vt": "str"
|
||||
}
|
||||
],
|
||||
"repeat": "",
|
||||
"crontab": "",
|
||||
"once": false,
|
||||
"onceDelay": 0.1,
|
||||
"topic": "",
|
||||
"payload": "Hello, World!",
|
||||
"payloadType": "str",
|
||||
"x": 210,
|
||||
"y": 400,
|
||||
"wires": [
|
||||
[
|
||||
"ec0bc4aa.b3c828"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "6b8be121.32be9",
|
||||
"type": "debug",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "false",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 410,
|
||||
"y": 460,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "76196665.7c23e8",
|
||||
"type": "comment",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "Connect to TCP in server",
|
||||
"info": "`TCP out` node can connect to network server using tcp protocol. `TCP in` node can serve a network server using tcp procol.\n",
|
||||
"x": 190,
|
||||
"y": 340,
|
||||
"wires": []
|
||||
}
|
||||
]
|
@@ -1,174 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id": "d9a91d7e.05f0d",
|
||||
"type": "tcp in",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "",
|
||||
"server": "server",
|
||||
"host": "localhost",
|
||||
"port": "1883",
|
||||
"datamode": "stream",
|
||||
"datatype": "utf8",
|
||||
"newline": "¥n",
|
||||
"topic": "",
|
||||
"base64": false,
|
||||
"x": 230,
|
||||
"y": 740,
|
||||
"wires": [
|
||||
[
|
||||
"3871d8af.25e208"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "9fa8f09d.7591b",
|
||||
"type": "inject",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "",
|
||||
"props": [
|
||||
{
|
||||
"p": "payload"
|
||||
},
|
||||
{
|
||||
"p": "topic",
|
||||
"vt": "str"
|
||||
}
|
||||
],
|
||||
"repeat": "",
|
||||
"crontab": "",
|
||||
"once": false,
|
||||
"onceDelay": 0.1,
|
||||
"topic": "",
|
||||
"payload": "\"Hello, World!¥n\"",
|
||||
"payloadType": "jsonata",
|
||||
"x": 190,
|
||||
"y": 640,
|
||||
"wires": [
|
||||
[
|
||||
"948a8410.ab0a08"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "33df08b.753e9f8",
|
||||
"type": "debug",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "false",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 710,
|
||||
"y": 640,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "948a8410.ab0a08",
|
||||
"type": "tcp request",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"server": "localhost",
|
||||
"port": "1883",
|
||||
"out": "char",
|
||||
"splitc": "\\n",
|
||||
"name": "",
|
||||
"x": 350,
|
||||
"y": 640,
|
||||
"wires": [
|
||||
[
|
||||
"f6d6be6a.efb4c"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fbd442d8.cb273",
|
||||
"type": "tcp out",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"host": "",
|
||||
"port": "",
|
||||
"beserver": "reply",
|
||||
"base64": false,
|
||||
"end": false,
|
||||
"name": "",
|
||||
"x": 530,
|
||||
"y": 740,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "3871d8af.25e208",
|
||||
"type": "change",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "set result",
|
||||
"rules": [
|
||||
{
|
||||
"t": "set",
|
||||
"p": "payload",
|
||||
"pt": "msg",
|
||||
"to": "\"Received: \" & payload & \"\b\\n\"",
|
||||
"tot": "jsonata"
|
||||
}
|
||||
],
|
||||
"action": "",
|
||||
"property": "",
|
||||
"from": "",
|
||||
"to": "",
|
||||
"reg": false,
|
||||
"x": 400,
|
||||
"y": 740,
|
||||
"wires": [
|
||||
[
|
||||
"fbd442d8.cb273"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "f6d6be6a.efb4c",
|
||||
"type": "function",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "Buffer to String",
|
||||
"func": "msg.payload = msg.payload.toString();\nreturn msg;",
|
||||
"outputs": 1,
|
||||
"noerr": 0,
|
||||
"initialize": "",
|
||||
"finalize": "",
|
||||
"x": 540,
|
||||
"y": 640,
|
||||
"wires": [
|
||||
[
|
||||
"33df08b.753e9f8"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "e1412987.91dcc8",
|
||||
"type": "comment",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "Send reply to client of TCP connection",
|
||||
"info": "Input message from `TCP in` node may be passed to `TCP out` node to return a reply to client.\n",
|
||||
"x": 230,
|
||||
"y": 580,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "5f43905f.2425d",
|
||||
"type": "comment",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "↓ Accept request",
|
||||
"info": "",
|
||||
"x": 220,
|
||||
"y": 700,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "a6f57329.c87c6",
|
||||
"type": "comment",
|
||||
"z": "cfd9159c.6f73e8",
|
||||
"name": "↓ Reply result",
|
||||
"info": "",
|
||||
"x": 550,
|
||||
"y": 700,
|
||||
"wires": []
|
||||
}
|
||||
]
|
@@ -1,92 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id": "73279b5.5151664",
|
||||
"type": "udp in",
|
||||
"z": "92236e19.9e4cb",
|
||||
"name": "",
|
||||
"iface": "",
|
||||
"port": "1881",
|
||||
"ipv": "udp4",
|
||||
"multicast": "false",
|
||||
"group": "",
|
||||
"datatype": "utf8",
|
||||
"x": 220,
|
||||
"y": 220,
|
||||
"wires": [
|
||||
[
|
||||
"d98b60d3.7331e"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fb19b98f.d5aa58",
|
||||
"type": "udp out",
|
||||
"z": "92236e19.9e4cb",
|
||||
"name": "",
|
||||
"addr": "localhost",
|
||||
"iface": "",
|
||||
"port": "1881",
|
||||
"ipv": "udp4",
|
||||
"outport": "",
|
||||
"base64": false,
|
||||
"multicast": "false",
|
||||
"x": 410,
|
||||
"y": 160,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "33f18897.35d5b8",
|
||||
"type": "inject",
|
||||
"z": "92236e19.9e4cb",
|
||||
"name": "",
|
||||
"props": [
|
||||
{
|
||||
"p": "payload"
|
||||
},
|
||||
{
|
||||
"p": "topic",
|
||||
"vt": "str"
|
||||
}
|
||||
],
|
||||
"repeat": "",
|
||||
"crontab": "",
|
||||
"once": false,
|
||||
"onceDelay": 0.1,
|
||||
"topic": "",
|
||||
"payload": "Hello, World!",
|
||||
"payloadType": "str",
|
||||
"x": 230,
|
||||
"y": 160,
|
||||
"wires": [
|
||||
[
|
||||
"fb19b98f.d5aa58"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "d98b60d3.7331e",
|
||||
"type": "debug",
|
||||
"z": "92236e19.9e4cb",
|
||||
"name": "",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "false",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 370,
|
||||
"y": 220,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "f86495aa.8a9848",
|
||||
"type": "comment",
|
||||
"z": "92236e19.9e4cb",
|
||||
"name": "Transfer data using UDP protocol",
|
||||
"info": "`UDP in` node can be used to receive data from `UDP out` node using UDP protocol.",
|
||||
"x": 230,
|
||||
"y": 100,
|
||||
"wires": []
|
||||
}
|
||||
]
|
@@ -1,96 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id": "13410716.69c9d9",
|
||||
"type": "websocket in",
|
||||
"z": "a8360b47.074ec8",
|
||||
"name": "",
|
||||
"server": "89db22b6.9aa36",
|
||||
"client": "",
|
||||
"x": 280,
|
||||
"y": 180,
|
||||
"wires": [
|
||||
[
|
||||
"c2541f10.59544"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "c2541f10.59544",
|
||||
"type": "debug",
|
||||
"z": "a8360b47.074ec8",
|
||||
"name": "",
|
||||
"active": true,
|
||||
"tosidebar": true,
|
||||
"console": false,
|
||||
"tostatus": false,
|
||||
"complete": "false",
|
||||
"statusVal": "",
|
||||
"statusType": "auto",
|
||||
"x": 430,
|
||||
"y": 180,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "6788839e.04576c",
|
||||
"type": "inject",
|
||||
"z": "a8360b47.074ec8",
|
||||
"name": "",
|
||||
"props": [
|
||||
{
|
||||
"p": "payload"
|
||||
},
|
||||
{
|
||||
"p": "topic",
|
||||
"vt": "str"
|
||||
}
|
||||
],
|
||||
"repeat": "",
|
||||
"crontab": "",
|
||||
"once": false,
|
||||
"onceDelay": 0.1,
|
||||
"topic": "",
|
||||
"payload": "Hello, World!",
|
||||
"payloadType": "str",
|
||||
"x": 290,
|
||||
"y": 120,
|
||||
"wires": [
|
||||
[
|
||||
"438c232a.06c2cc"
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "438c232a.06c2cc",
|
||||
"type": "websocket out",
|
||||
"z": "a8360b47.074ec8",
|
||||
"name": "",
|
||||
"server": "",
|
||||
"client": "63620788.bda128",
|
||||
"x": 500,
|
||||
"y": 120,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "c88f97a9.4410f8",
|
||||
"type": "comment",
|
||||
"z": "a8360b47.074ec8",
|
||||
"name": "Connect to websocket in server",
|
||||
"info": "`websocket out` node can connect to web socket server. `websocket in` node can serve a web socket server.\n",
|
||||
"x": 290,
|
||||
"y": 80,
|
||||
"wires": []
|
||||
},
|
||||
{
|
||||
"id": "89db22b6.9aa36",
|
||||
"type": "websocket-listener",
|
||||
"path": "/ws1",
|
||||
"wholemsg": "false"
|
||||
},
|
||||
{
|
||||
"id": "63620788.bda128",
|
||||
"type": "websocket-client",
|
||||
"path": "ws://localhost:1880/ws1",
|
||||
"tls": "",
|
||||
"wholemsg": "false"
|
||||
}
|
||||
]
|
@@ -1,96 +0,0 @@
|
||||
[
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user