Skip to content

Conversation

afrokick
Copy link

Would be nice to support WebSocket Sec-WebSocket-Protocol header and it can be set only via protocols constructor's option. Ref: https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/WebSocket#protocols

I get value from headers['Sec-WebSocket-Protocol] and pass it to WebSocket constructor, but a separate option for subscribe method might be better solution.

Let me know what do you think.

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.

1 participant