websockets: A sensible and clean way to write WebSocket-capable servers in Haskell.

[ bsd3, library, network ] [ Propose Tags ] [ Report a vulnerability ]

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

This package only supports insecure (ws://...) WebSockets. If you need secure (wss://...) websockets, consider using Wuss: https://hackage.haskell.org/package/wuss

See also:

Flags

Manual Flags

NameDescriptionDefault
example

Build the example server

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.1.2, 0.1.1.3, 0.1.1.5, 0.1.2.2, 0.1.2.3, 0.1.2.5, 0.2.0.1, 0.3.0.0, 0.3.1.0, 0.3.1.1, 0.4.0.0, 0.4.0.1, 0.4.1.0, 0.5.0.0, 0.5.1.0, 0.5.1.1, 0.5.2.0, 0.5.2.1, 0.6.0.0, 0.6.0.1, 0.6.0.2, 0.6.0.3, 0.6.0.4, 0.7.0.0, 0.7.0.1, 0.7.1.0, 0.7.1.1, 0.7.2.0, 0.7.2.1, 0.7.3.0, 0.7.4.0, 0.7.4.1, 0.8.0.0, 0.8.1.0, 0.8.1.1, 0.8.1.2, 0.8.1.3, 0.8.2.0, 0.8.2.1, 0.8.2.2, 0.8.2.3, 0.8.2.4, 0.8.2.5, 0.8.2.6, 0.9.0.0, 0.9.0.1, 0.9.1.0, 0.9.2.0, 0.9.2.1, 0.9.2.2, 0.9.3.0, 0.9.3.1, 0.9.4.0, 0.9.5.0, 0.9.6.0, 0.9.6.1, 0.9.6.2, 0.9.7.0, 0.9.8.0, 0.9.8.1, 0.9.8.2, 0.10.0.0, 0.11.0.0, 0.11.1.0, 0.11.2.0, 0.12.0.0, 0.12.1.0, 0.12.2.0, 0.12.3.0, 0.12.3.1, 0.12.4.0, 0.12.4.1, 0.12.5.0, 0.12.5.1, 0.12.5.2, 0.12.5.3, 0.12.6.0, 0.12.6.1, 0.12.7.0, 0.12.7.1, 0.12.7.2, 0.12.7.3, 0.13.0.0 (info)
Change log CHANGELOG
Dependencies async (>=2.2 && <2.3), attoparsec (>=0.10 && <0.15), base (>=4.14 && <5), base64-bytestring (>=0.1 && <1.3), binary (>=0.8.1 && <0.11), bytestring (>=0.9 && <0.13), case-insensitive (>=0.3 && <1.3), containers (>=0.3 && <0.8), entropy (>=0.2.1 && <0.5), mtl, network (>=2.3 && <3.3), random (>=1.0.1 && <1.3), SHA (>=1.5 && <1.7), streaming-commons (>=0.1 && <0.3), text (>=0.10 && <2.2), websockets [details]
License BSD-3-Clause
Copyright (c) 2010-2011 Siniša Biđin (c) 2011-2018 Jasper Van der Jeugt (c) 2011 Steffen Schuldenzucker (c) 2011 Alex Lang
Author Siniša Biđin <sinisa@bidin.cc> Jasper Van der Jeugt <m@jaspervdj.be> Steffen Schuldenzucker <steffen.schuldenzucker@googlemail.com> Alex Lang <lang@tsurucapital.com> Domen Kožar
Maintainer Jasper Van der Jeugt <m@jaspervdj.be>
Revised Revision 4 made by JasperVanDerJeugt at 2024-12-12T17:46:26Z
Category Network
Home page http://jaspervdj.be/websockets
Bug tracker https://github.com/jaspervdj/websockets/issues
Source repo head: git clone https://github.com/jaspervdj/websockets
Uploaded by JasperVanDerJeugt at 2023-12-30T08:15:48Z
Distributions Arch:0.12.7.3, Debian:0.12.7.1, Fedora:0.12.7.3, LTSHaskell:0.13.0.0, NixOS:0.12.7.3, Stackage:0.13.0.0
Reverse Dependencies 122 direct, 3488 indirect [details]
Executables websockets-autobahn, websockets-client-example, websockets-server-example
Downloads 114659 total (333 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-12-30 [all 1 reports]