How to change request header of websocket connection from chrome extension service worker
On invoking the below function, the console message “Token rule update with new token” is logged, but when actually invoking the web-socket connection request, the request header is not updated.