Skip to content

Commit

Permalink
Documented client close event arguemnts.
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Jan 3, 2012
1 parent 3d97e1c commit d7c1ff5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -241,6 +241,9 @@ The client class. _Inherits from EventEmitter_.
- `String`: utf-8 encoded data
- `close`
- Fired upon disconnection.
- **Arguments**
- `String`: reason for closing
- `Object`: description object (optional)
- `error`
- Fired when an error occurs.

Expand Down Expand Up @@ -277,7 +280,7 @@ For more information on the client refer to the

- `polling`: XHR / JSONP polling transport.
- `websocket`: WebSocket transport.
- `flashsocket`: WebSocket transport backed by flash
- `flashsocket`: WebSocket transport backed by flash.

## Support

Expand Down

0 comments on commit d7c1ff5

Please sign in to comment.