SEAPUNK / socketeer

yet another websocket framework
MIT License
3 stars 0 forks source link

Should timeouts be errors? #35

Closed SEAPUNK closed 8 years ago

SEAPUNK commented 8 years ago

Currently, I just have the package emit a 'timeout' even and then cleanly close the connection. I'm thinking that I should instead throw an error, saying the connection timed out.

SEAPUNK commented 8 years ago

They should. Everyone else does it like that.