-
Is there any way to use an |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The browser native WebSocket automatically sends cookies alongside the upgrade request. There are no credentials configuration options when instantiating a WebSocket. Also see #257 (comment). Furthermore, there's no way you can set custom headers in the browser's WebSocket. Also beware that |
Beta Was this translation helpful? Give feedback.
The browser native WebSocket automatically sends cookies alongside the upgrade request. There are no credentials configuration options when instantiating a WebSocket. Also see #257 (comment).
Furthermore, there's no way you can set custom headers in the browser's WebSocket.
Also beware that
httpOnly
cookies cant be accessed from JavaScript.