Hi,
i try to manually reconnect the StompClient if the underlying websocket connection has been closed. Therefore i try to call connectAsync again. Unfortunately it fails, because it tries to set the X-Authorization header again, which already exists in the dictionary in StompClient.cs. But i need to be able to update the X-Authorization header, in case the access token changed in the meantime or needed to be refreshed.
In general, is it ok to call connectAsync again, if the socket has been closed?
Regards,
Jan
Hi,
i try to manually reconnect the StompClient if the underlying websocket connection has been closed. Therefore i try to call connectAsync again. Unfortunately it fails, because it tries to set the X-Authorization header again, which already exists in the dictionary in StompClient.cs. But i need to be able to update the X-Authorization header, in case the access token changed in the meantime or needed to be refreshed.
In general, is it ok to call connectAsync again, if the socket has been closed?
Regards,
Jan