Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for setting websocket subprotocols #33

Open
ruzkant opened this issue Jan 12, 2020 · 0 comments
Open

Add support for setting websocket subprotocols #33

ruzkant opened this issue Jan 12, 2020 · 0 comments

Comments

@ruzkant
Copy link

ruzkant commented Jan 12, 2020

Browsers don't currently allow setting custom headers for example to include CSRF like tokens in the websocket handshake request. But websockets do support a sub protocol that may be specified and one could potentially include a token through it.

Therefore it may be useful to expose this setting in the ServerBuilder interface.

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

No branches or pull requests

1 participant