rust-socketio icon indicating copy to clipboard operation
rust-socketio copied to clipboard

Emit should not failed while reconnecting

Open SSebo opened this issue 2 years ago • 3 comments

like js client, should buffer the emit, resend if reconnect success.

SSebo avatar Aug 19 '22 12:08 SSebo

how you reconnect?

TomieAi avatar Oct 11 '22 16:10 TomieAi

This is closed in #229 isn't it?

1c3t3a avatar Oct 20 '22 08:10 1c3t3a

No, emit still return IllegalActionBeforeOpen Error. Maybe we should cache the payload when reconnecting, can emit after reconnect.

SSebo avatar Oct 21 '22 03:10 SSebo