Skip to content

Conversation

ojarjur
Copy link
Collaborator

@ojarjur ojarjur commented Oct 26, 2024

This PR adds a subprotocol field to the session message struct which is used at session creation time to report the websocket subprotocol (if any) that was accepted by the backend server.

The corresponding list of requested subprotocols from the client was already present in the forwarded request headers and is correctly forwarded to the backend; it's just the backend's response that was previously missing.

@ojarjur ojarjur merged commit f46a5db into master Oct 29, 2024
2 checks passed
@ojarjur ojarjur deleted the ojarjur/report-accepted-ws-subprotocol branch March 10, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants