Skip to content
Browse files

Mention raw websocket url in the readme

  • Loading branch information...
1 parent d628d4c commit 83e0f2b67c211f6192d9d1a315213e9d3cfbb3ab @majek majek committed Mar 2, 2012
Showing with 17 additions and 0 deletions.
  1. +17 −0 README.md
View
17 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
----------

0 comments on commit 83e0f2b

Please sign in to comment.
Something went wrong with that request. Please try again.