elm-lang / websocket

Websockets for Elm
http://package.elm-lang.org/packages/elm-lang/websocket/latest
BSD 3-Clause "New" or "Revised" License
99 stars 30 forks source link

Support specifying subprotocol #20

Open aymanosman opened 7 years ago

aymanosman commented 7 years ago

Example javascript code

new WebSocket("ws://localhost:5280/ws-xmpp", ["xmpp"])
process-bot commented 7 years ago

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.

liamcurry commented 6 years ago

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.