./www/hs-websockets, Sensible and clean way to write WebSocket-capable servers in Haskell

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.13.0.0nb1, Package name: hs-websockets-0.13.0.0nb1, Maintainer: pkgsrc-users

This library allows you to write WebSocket-capable servers.

An example server:
https://github.com/jaspervdj/websockets/blob/master/example/server.lhs

An example client:
https://github.com/jaspervdj/websockets/blob/master/example/client.hs

See also:
* The specification of the WebSocket protocol:
http://www.whatwg.org/specs/web-socket-protocol/
* The JavaScript API for dealing with WebSockets:
http://www.w3.org/TR/websockets/


Master sites:

Filesize: 40.229 KB

Version history: (Expand)


CVS history: (Expand)


   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-05-01 16:26:59 by Masatake Daimon | Files touched by this commit (4)
Log message:
www/hs-websockets: Update to 0.13.0.0

- 0.13.0.0 (2023-12-30)
    * **BREAKING**: Remove `serverRequirePong` option in favor of the new
      implementation.
    * **BREAKING**: Client: Rejecting request raises
      `RequestRejected RequestHead ResponseHead`
    * Timeout initial socket connection after 30s.
    * If the socket is closed unexpectedly, raise `ConnectionClosed`.
    * Added a way to manually send a Pong message.
    * `runServer` now cleans up threads correctly.
    * Remove redundant bytestring-builder dependency.
    * Introduce `Network.WebSockets.Connection.PingPong` to
      handle ping pong for any Connection, be it Client or Server.
    * Bump `text `dependency upper bound to 2.2
    * Bump `random `dependency lower bound to 1.0.1
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-29 19:33:27 by Masatake Daimon | Files touched by this commit (1)
Log message:
www/hs-websockets: Fix build with GHC 9.6
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-01-26 11:12:15 by Masatake Daimon | Files touched by this commit (2)
Log message:
www/hs-websockets: Fix build with GHC 9.4
   2022-09-07 08:50:53 by Masatake Daimon | Files touched by this commit (149) | Package updated
Log message:
Recursive bump for recently updated Haskell packages
   2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872)
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk