ngauthier / tubesock

Websocket interface on Rack Hijack w/ Rails support
MIT License
620 stars 43 forks source link

Add a closed? method to Tubesock #16

Closed raelik closed 10 years ago

raelik commented 10 years ago

For long-running threads, it can be necessary to check the socket closed state from within a handler to catch clients closing the connection prematurely.

raelik commented 10 years ago

You're very quick to respond. :thumbsup: :thumbsup: