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

Installing handlers before connecting

Open Jille opened this issue 1 year ago • 0 comments

Hi.

I'm looking into socketio libraries to choose one, so I haven't used this yet.

Using gosocketio.Dial to create a client immediately connects, before I've had a chance to install handlers. Is there a way to install handlers before the connection occurs, so we're certain my handlers can see every incoming message?

Jille avatar Jan 01 '24 17:01 Jille