Permalink
Browse files

Merge branch 'master' of github.com:cronopio/hook.io-ws

  • Loading branch information...
2 parents 74e3fa1 + 087f6a2 commit d310b7cb7e1fbc99a914c6f2476118ef4a9cc6c8 cronopio committed Nov 13, 2011
Showing with 7 additions and 2 deletions.
  1. +7 −2 README.md
View
@@ -25,7 +25,9 @@ Based on [Peter Griess](https://github.com/pgriess/node-websocket-client) work.
## Development Example
Now you can require the `hook.io-ws` module and instance a new Hook that try to connect to `url` using *WebSockets*
-```
+
+```javascript
+
#!/usr/bin/env node
var WebSocketHook = require('hook.io-ws').HookSocket;
@@ -37,10 +39,13 @@ var mtgoxTest = new WebSocketHook({
});
mtgoxTest.start();
+
```
Or you can use the Hook.io Magic
-```
+
+```javascript
+
/*
* Hook class for interacting with mtgox.com
*/

0 comments on commit d310b7c

Please sign in to comment.