aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authorFraser Adams <fraser.adams@blueyonder.co.uk>2014-01-31 10:36:07 +0000
committerFraser Adams <fraser.adams@blueyonder.co.uk>2014-01-31 10:36:07 +0000
commit9ed679c54f623f8b3ee41bcda1b540adc94a2693 (patch)
tree4d3b3b32507af8fecab031311058e9713a7bda5c /src/settings.js
parent43ee264bab811099b3a6581f2ae87d501675a4e7 (diff)
Removed capitals from a comment as requested, reinstated UDP test that was accidentally dropped and updated settings.js comment.
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings.js b/src/settings.js
index 93f141ba..04571e8a 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -221,7 +221,8 @@ var SOCKET_WEBRTC = 0; // Select socket backend, either webrtc or websockets.
// Module['websocket'] = {subprotocol: 'base64, binary, text'};
// Module['websocket'] = {url: 'wss://', subprotocol: 'base64'};
// Run time configuration may be useful as it lets an application select multiple different services.
-var WEBSOCKET_URL = 'ws://'; // A string containing either a WebSocket URL prefix (ws:// or wss://) or a complete URL.
+var WEBSOCKET_URL = 'ws://'; // A string containing either a WebSocket URL prefix (ws:// or wss://) or a complete
+ // RFC 6455 URL - "ws[s]:" "//" host [ ":" port ] path [ "?" query ].
// In the (default) case of only a prefix being specified the URL will be constructed from
// prefix + addr + ':' + port
// where addr and port are derived from the socket connect/bind/accept calls.