websocket icon indicating copy to clipboard operation
websocket copied to clipboard

Inherit protocol and endpoint when not specified.

Open edevil opened this issue 9 years ago • 6 comments

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

edevil avatar Jul 07 '16 22:07 edevil

Based on code from the Phoenix channels JS client.

edevil avatar Jul 07 '16 22:07 edevil

+1 to this

Voronchuk avatar Jul 12 '16 19:07 Voronchuk

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

evancz avatar Jul 12 '16 20:07 evancz

Can I have some feedback on this please?

edevil avatar Nov 25 '16 11:11 edevil

Damn, 4 years and still going, what a shame...

raen79 avatar Feb 24 '20 22:02 raen79

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

gabriela-sartori avatar May 02 '20 07:05 gabriela-sartori