README.md in sinatra-cometio-0.1.1 vs README.md in sinatra-cometio-0.1.2
- old
+ new
@@ -81,9 +81,13 @@
```ruby
CometIO.on :connect do |session|
puts "new client <#{session}>"
end
+
+CometIO.on :disconnect do |session|
+ puts "client disconnected <#{session}>"
+end
```
### On "error" Event
Client Side
\ No newline at end of file