Skip to content

Commit

Permalink
Documented headers event.
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Jul 3, 2012
1 parent 2463f85 commit 3ecdb99
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/ws.md
Expand Up @@ -37,6 +37,12 @@ When the Upgrade was successfully, the `callback` will be called with a `ws.WebS

If the underlying server emits an error, it will be forwarded here.

### Event: 'headers'

`function (headers) { }`

Emitted with the object of HTTP headers that are going to be written to the `Stream` as part of the handshake.

### Event: 'connection'

`function (socket) { }`
Expand Down

0 comments on commit 3ecdb99

Please sign in to comment.