This package is not ready to be used in production! However you can use it with Elm 0.19 right now, considering elm/Websocket is not out yet.
The reasons you can use this package in Elm 0.19
Take a look at
example directory for a detailed example.
Most of the codes an ideas are borrowed from fbonetti/elm-phoenix-socket