socketio / socket.io-client-swift

Other
5.21k stars 839 forks source link

Reconnect Auth Behavior #1461

Open eghnacr opened 10 months ago

eghnacr commented 10 months ago

While instantiate SocketManager, we provide an authentication token with extra header. However, what happens when we need to reconnect, especially when the token has changed.

Does it skip the authentication steps? If a new token is required for a reconnection, how can I provide it? Do I need to create a new SocketManager instance?