Answer the question
In order to leave comments, you need to log in
Forwarding a token through sockets, is this approach adequate?
Good day. There is a connection:
const SocketInstance = socketio('http://5.25.22.14:1923', {
query:'token=' + token
});
SocketInstance.io.disconnect();
SocketInstance.io.opts.query = {
token: 'newtoken'
}
SocketInstance.io.connect();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question