Permalink
Browse files

bump and readme notes for passing parameters through to socket.io

  • Loading branch information...
1 parent 6d49e73 commit a9ba38fac67ac393f513ede29933bacbecb427ff @substack committed Apr 23, 2011
Showing with 7 additions and 2 deletions.
  1. +4 −0 README.markdown
  2. +2 −1 index.js
  3. +1 −1 package.json
View
@@ -171,6 +171,10 @@ If you pass a webserver (http.Server, https.Server, connect, express) to
listen(), socket.io will be bound to the webserver and the dnode browser source
will be hosted at `options.mount || "/dnode.js"`.
+You can pass options through to socket.io with the `io` parameter:
+
+ dnode(...).listen(webserver, { io : { flashPolicyServer : false } });
+
Returns `this` so you can chain multiple listeners.
.use(middleware)
View
@@ -45,7 +45,8 @@ dnode.prototype.connect = function () {
attachDnode();
});
}
- } else {
+ }
+ else {
attachDnode();
}
View
@@ -1,6 +1,6 @@
{
"name" : "dnode",
- "version" : "0.6.8",
+ "version" : "0.6.9",
"description" : "freestyle RPC like a boss",
"main" : "./index.js",
"keywords" : [

0 comments on commit a9ba38f

Please sign in to comment.