Permalink
Browse files

Minor cleanup to README.md.

  • Loading branch information...
1 parent f5c844a commit ba5d0375dbff2d357a75bb7dfe05387dfaebfd43 @pgriess pgriess committed May 27, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 README.md
View
@@ -43,6 +43,7 @@ instance. This object emits `msg` events when an object has been received.
var msgpack = require('msgpack');
// ... get a net.Stream instance, s, from somewhere
+
var ms = new msgpack.Stream(s);
ms.addListener('msg', function(m) {
sys.debug('received message: ' + sys.inspect(m));

0 comments on commit ba5d037

Please sign in to comment.