MIT licensed by Michael Snoyman
Maintained by [email protected]
This version can be pinned in stack with:yesod-websockets-0.3.0.3@sha256:99f49618f7cbb944c928d2870872b6ff867602c80af5d83421a68feb2ad94186,1068

Module documentation for 0.3.0.3

REQUIRED PACKAGES

The example, chat.hs, requires stm-lifted and conduit-combinators which are not dependencies of yesod-websockets. Installing the extra packages needed for the chat.hs example can be installed with the command:

$ cabal install stm-lifted conduit-combinators

TIMEOUTS

Versions of yesod-websockets prior to 0.2.1 may experience session timeouts after about 30 seconds of inactivity. Refer to the patch in the websockets library which addresses this issue:

https://github.com/jaspervdj/websockets/commit/536849d1f3265076f61edefd5c89e84e82a99c71

Changes

0.3.0.3

  • Removed the use of the deprecated forkPingThread and replaced it with the recommended withPingThread. #1700

0.3.0.2

  • sendClose and sendPing correctly find the Connection from WebSocketsT

    Previously, these types were incorrectly typed to look for the Connection on the m of WebSocketsT m (), and not via WebSocketsT itself. Because this made them practically impossible to use, this change is unlikely to break any existing code.

0.3.0.1

  • Minor cabal file improvements

0.3.0

  • Upgrade to yesod-core 1.6

0.2.6

  • Fix warnings

0.2.5

  • Allow to start websockets with custom ConnectionOptions with webSocketsOptions and webSocketsOptionsWith

0.2.4.1

  • Support for websockets 0.10

0.2.3

  • receiveDataMessageE and sendDataMessageE

0.2.2

  • Add exceptional websocket commands #772