I'm setting request header while establishing connection to my Socket.IO server like this:
/* Socket.IO client */
let socketIO = new SocketIO("http://localhost:8080", {
extraHeaders: {
accessToken: "access123",
refreshToken: "refresh123"
}
});
How can I change the header after the client is connected (without disconnecting and reconnecting) ?