websocket
websocket copied to clipboard
Inherit protocol and endpoint when not specified.
This makes it easy to have the same code running in dev/staging/production environments since you are now able to use relative paths instead of absolute paths for the websocket endpoint.
Addresses https://github.com/fbonetti/elm-phoenix-socket/issues/6
Based on code from the Phoenix channels JS client.
+1 to this
I didn't have @process-bot set up when this issue was opened, but this is what he would have said: https://github.com/elm-lang/virtual-dom/issues/30#issuecomment-232155244
Can I have some feedback on this please?
Damn, 4 years and still going, what a shame...
This is the old organization, the correct one is github.com/elm and it doesn't have websocket package and probably won't, explained here: https://github.com/elm-lang/websocket/blob/master/README.md