Hello,
I am currently working on a project that involves creating a new StreamLayer and adding custom parameters such as an API token.
However, I am encountering an issue where the server sometimes fails and there is an automatic reconnection trial.
The problem is that the custom parameters I have set are changing and the reconnection is not working because a new set of custom parameters needs to be added.
I have been trying to update the custom parameters on the object once they change, but it is not affecting the URL that has already been saved.
Is there any way to apply the changes to the constructed StreamLayer, so that the reconnection will work with the updated custom parameters?
I appreciate your help.