Permalink
Browse files

example output

  • Loading branch information...
substack committed Sep 10, 2012
1 parent 366e824 commit 4027a968b7bc266ce93cbd3f2c951d9c83e6c951
Showing with 21 additions and 0 deletions.
  1. +21 −0 readme.markdown
View
@@ -16,6 +16,27 @@ var server = http.createServer(function (req, res) {
server.listen(8000);
```
+***
+
+```
+$ nc localhost 8000
+GET / HTTP/1.1
+Upgrade: true
+
+HTTP/1.1 200 OK
+Date: Sun, 09 Sep 2012 23:57:43 GMT
+Connection: close
+
+# repl party server
+> 1+2
+3
+> 'abc'
+'abc'
+> 4+5+2*5
+19
+> ^C
+```
+
# hypothesis
Emitting an `'upgrade'` event with `(request, socket, head)` parameters makes

0 comments on commit 4027a96

Please sign in to comment.