-
I'm creating a websocket client using NextJS with the following:
and on the backend I'm making a websocket server like so (some code omitted for general clarity):
I'm finding that the backend never logs However, I do see a Is there a way to configure the client to send the referer as a header? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Setting custom headers is not possible in browsers. You can do so in Node though - for that you can consult the "Client usage in Node with custom headers" recipe. |
Beta Was this translation helpful? Give feedback.
Setting custom headers is not possible in browsers.
You can do so in Node though - for that you can consult the "Client usage in Node with custom headers" recipe.