[Pkg-javascript-commits] [sockjs-client] 360/434: Mention raw websocket url in the readme

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:25 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit 050d5d9d895a82369acb6e2a2934884acbdc8494
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Fri Mar 2 11:40:42 2012 +0000

    Mention raw websocket url in the readme
---
 README.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/README.md b/README.md
index 1709089..21023a9 100644
--- a/README.md
+++ b/README.md
@@ -210,6 +210,23 @@ jsonp-polling        | Slow and old fashioned [JSONP polling][^6]. This transpor
 [^9]: http://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitations-and-workarounds.aspx
 
 
+Connecting to SockJS without the client
+---------------------------------------
+
+Although the main point of SockJS it to enable browser-to-server
+connectivity, it is possible to connect to SockJS from an external
+application. Any SockJS server complying with 0.2 protocol does
+support a raw WebSocket url. The raw WebSocket url for the test server
+looks like:
+
+ * ws://localhost:8081/echo/websocket
+
+You can connect any WebSocket RFC 6455 compliant WebSocket client to
+this url. This can be a command line client, external application,
+third party code or even a browser (though I don't know why you would
+want to do so).
+
+
 Deployment
 ----------
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list