From cce5f33a973807439cbf7f42bc574c0510faaa3b Mon Sep 17 00:00:00 2001 From: Nicholas O'Leary Date: Sun, 8 Dec 2013 20:31:56 +0000 Subject: [PATCH] Allow JSON sending/receiving in websocket node Fixes #105 --- nodes/core/io/22-websocket.html | 16 ++++++++++++-- nodes/core/io/22-websocket.js | 38 ++++++++++++++++++++++++--------- 2 files changed, 42 insertions(+), 12 deletions(-) diff --git a/nodes/core/io/22-websocket.html b/nodes/core/io/22-websocket.html index de306cb20..3dad7ea2b 100644 --- a/nodes/core/io/22-websocket.html +++ b/nodes/core/io/22-websocket.html @@ -96,7 +96,18 @@ -
This path will be relative to .
+
+ + +
+
+ Be default, payload will contain the data to be sent over, or received from a websocket. + The listener can be configured to send or receive the entire message object as a JSON formatted string. +

This path will be relative to .

+