After authorization, I receive a token that lasts 5 minutes. I subscribe over the socket and listen for data. After about 5 minutes I get an error that my token is out of date. I need to make sure that if I receive this error, I can re-request a new token and make a reconnection. And insert a new token into the socket.
After authorization, I receive a token that lasts 5 minutes. I subscribe over the socket and listen for data. After about 5 minutes I get an error that my token is out of date. I need to make sure that if I receive this error, I can re-request a new token and make a reconnection. And insert a new token into the socket.