Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:/LearnBoost/engine.io

  • Loading branch information...
commit 58ff8991d01eca13e4158cbbcecedfaf143b845e 2 parents 3bafecd + 472b3f1
Guillermo Rauch rauchg authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 README.md
10 README.md
View
@@ -231,6 +231,16 @@ A representation of a client. _Inherits from EventEmitter_.
- `Array`: write buffer
- `drain`
- Called when the write buffer is drained
+- `packet`
+ - Called when a socket reseived a packet (`message`, `ping`)
+ - **Arguments**
+ - `type`: packet type
+ - `data`: packet data (if type is message)
+- `packetCreate`
+ - Called before a socket sends a packet (`message`, `pong`)
+ - **Arguments**
+ - `type`: packet type
+ - `data`: packet data (if type is message)
##### Properties
Please sign in to comment.
Something went wrong with that request. Please try again.