Response headers / cookies #176
Replies: 2 comments 1 reply
-
Do you have an example of such service? Adding custom headers to the handshake seems a bit odd, and nothing I have encountered before. So it would be good with a real world example where HTTP headers are used in this way. /Sören |
Beta Was this translation helpful? Give feedback.
-
It is a bit strange, as the session cookie have no purpose within the websocket connection but apparently is supposed to be used on HTTP requests run elsewhere in the code. But the ability to retrieve headers is a valid request in itself. As of now we only support setting headers, but I will add this feature to my todo list. Please also note that I maintain this repo as phrity/websocket, any updates will end up there instead. |
Beta Was this translation helpful? Give feedback.
-
Hi!
How do you get the response headers?
On some services, cookies are set on the response (ie, session cookies).
Thanks in advance!
Lisandro.
Beta Was this translation helpful? Give feedback.
All reactions