joewalnes / reconnecting-websocket

A small decorator for the JavaScript WebSocket API that automatically reconnects
MIT License
4.21k stars 970 forks source link

timeout upon initial connection? #78

Open john-doherty opened 7 years ago

john-doherty commented 7 years ago

How would I detect and capture a timeout when first attempting to connect, if for example the url was not a active websocket?