This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0 1.0.1
Persistent network connections, making client/server communication faster.
version 1.0.2
license BSD3
native-modules True
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.2
Committed At 2016-10-07 21:33:54 UTC
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1

README

WebSockets

Web sockets make it cheaper to talk to your servers.

Benefits

Connecting to a server takes some time, so with web sockets, you make that connection once and then keep using. The major benefits of this are:

  1. It is faster to send messages. No need to do a bunch of work for every single message.

  2. The server can push messages to you. With normal HTTP you would have to keep asking for changes, but a web socket, the server can talk to you whenever it wants. This means there is less unnecessary network traffic.

Learn

The best way to learn how to use this library is to read guide.elm-lang.org, particularly the section on The Elm Architecture.