Permalink
Browse files

Client interface for README

  • Loading branch information...
1 parent b053032 commit f49254921acd001f84d9d18ca141133b287930ae @marekjelen marekjelen committed Jan 23, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
@@ -47,6 +47,10 @@ with JSON encoded body containing the message and optional parameters.
The service then forwards the message to the client (all sessions or just a specific one).
+On the client-side the user connects using SockJS to the server and specifies the already authorized socket_id
+
+ var socket = new SockJS('http://ws.your_server.com/socket_id');
+
## Support
* Transports

0 comments on commit f492549

Please sign in to comment.