You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Websocket client works great, but I'm unable to change connection settings.
I wish to be able to pass new settings into open() function, something like:
open(new_address,{new_options})
or
It would be great to have a new function like
update(new_address,{new_options})
...and it will update current connection settings and reconnect. Something like that.
Suggested solution
Provide possibility to update current connection settings.
Or maybe just a url that is a Ref<string> instead of a string. Is there an usage of updating the options ? Most of them are at initialisation
After websocket url changed, incidental effects might change either. It's likely to happen that heartbeat message being different in the new websocket service. Consequently I think options should be compatible with Ref / Reative either
Clear and concise description of the problem
Websocket client works great, but I'm unable to change connection settings.
I wish to be able to pass new settings into open() function, something like:
or
It would be great to have a new function like
...and it will update current connection settings and reconnect. Something like that.
Suggested solution
Provide possibility to update current connection settings.
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: