reconnect example


the docs says we should implement our own reconnect?

Does anyone have an example of a simple reconnect scheme?

The idea is that if the user reconnects within 20 seconds he should be given the same sessionid.

Problem courtesy of: Harry

Solution has reconnect support now, using the options reconnect and reconnectionDelay so you can let that handle everything for you if you need.

Solution courtesy of: pthurlow

View additional discussion.