How to change request header of websocket connection from chrome extension service worker

182 views
Skip to first unread message

pankaj agarwala

unread,
Sep 12, 2024, 6:48:13 AMSep 12
to Chromium Extensions

Hi,

I'm encountering an issue when trying to set a new request header for a WebSocket connection in a Chrome extension mv3. 

Upon invoking the function, I can see the console message "Token rule updated with new token." However, when the actual WebSocket connection request is made, the request header does not seem to update.

Has anyone else faced a similar issue? I've come across a few articles suggesting this might be a Chrome bug. If so, has this been fixed yet?

Screenshot 2024-09-11 at 11.01.23 PM.png

Reply all
Reply to author
Forward
0 new messages