Discussions

Ask a Question
Back to All

Websocket refresh

I notice that when you refresh a websocket the URL changes. In dotnet the standard websocket client does not have this as a feature, so this means having to create a new web socket which in turn means adding complicated logic in order to make sure that you retire the previous socket correctly, don't process a message twice, and don't miss a message. Is there any other way to refresh the web socket without the URL changing?