Expose received Websocket Handshake Headers #8708
Nikola-Milovic
started this conversation in
General Discussions
Replies: 1 comment 1 reply
-
If we can receive it, maybe we can use it as an authorization? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Current implementation of
WebsocketPeer.HandshakeHeaders
says the followingMeaning this is only supported to set the headers when establishing a connection, but since the you can also use this peer on the server side, it would be useful to receive the headers as well. For example if I am implementing a WS server in Godot I would like to have a way to get the auth headers that occured during the handshake.
Beta Was this translation helpful? Give feedback.
All reactions