Permalink
Browse files

Edited readme.md via GitHub

  • Loading branch information...
1 parent 7fac289 commit 1b8c4d1ac9bd21cd01bc82f2572b364b0e1445f9 @ericz ericz committed Sep 19, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 readme.md
View
1 readme.md
@@ -66,6 +66,7 @@ A: Very easily.
**Q: How do I disable WebSockets or only use xhr-polling?**
A: You can specifiy exactly which transports to use as an initialization options as follows:
+
var nowjs = require("now");
var everyone = nowjs.initialize(yourHttpServer, {socketio: {transports: ['xhr-polling', 'jsonp-polling']}});

0 comments on commit 1b8c4d1

Please sign in to comment.