Skip to content

Commit

Permalink
docs: add upgrade event in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Feb 14, 2023
1 parent 898bd1c commit 535b068
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,14 @@ A representation of a client. _Inherits from EventEmitter_.
- Fired when an error occurs.
- **Arguments**
- `Error`: error object
- `upgrading`
- Fired when the client starts the upgrade to a better transport like WebSocket.
- **Arguments**
- `Object`: the transport
- `upgrade`
- Fired when the client completes the upgrade to a better transport like WebSocket.
- **Arguments**
- `Object`: the transport
- `flush`
- Called when the write buffer is being flushed.
- **Arguments**
Expand Down

0 comments on commit 535b068

Please sign in to comment.