websocket icon indicating copy to clipboard operation
websocket copied to clipboard

Support specifying subprotocol

Open aymanosman opened this issue 7 years ago • 2 comments

Example javascript code

new WebSocket("ws://localhost:5280/ws-xmpp", ["xmpp"])

aymanosman avatar Mar 15 '17 19:03 aymanosman

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

process-bot avatar Mar 15 '17 19:03 process-bot

Seconding this. Apollo's GraphQL WebSocket server requires the protocol to be specified by the client, so it can't be used with Elm at the moment due to this issue.

liamcurry avatar Jan 25 '18 17:01 liamcurry