A Haskell library for creating WebSocket-capable servers
416
stars
554
commits
Haskell
primary language
Apr 20, 2026
updated
Provides a sensible, clean and simple way to write WebSocket server and client in Haskell.
withPingPong helper for stale connection checkingsend doesn't support streamingSee server and client implementations.
Using cabal:
$ cabal install websockets
An initial WebSockets library was written in 2010 by Siniša Biđin. In 2011, it was rewritten from scratch, and extended to its current state by Jasper Van der Jeugt, who is also the current maintainer.
Contributors:
Pull requests are always welcome!
This library is production-quality. Therefore we have very high standards in terms of code style, API quality and testing.
We have three kinds of tests:
tests/haskell), which use the test-framework librarytests/javascript. These require a browser to
run.(top 30 of 62)
Haskell
90.3%
JavaScript
3.7%
HTML
2.1%
Python
1.4%
C
1.3%
A Haskell library for creating WebSocket-capable servers
416
stars
554
commits
Haskell
primary language
Apr 20, 2026
updated
Provides a sensible, clean and simple way to write WebSocket server and client in Haskell.
withPingPong helper for stale connection checkingsend doesn't support streamingSee server and client implementations.
Using cabal:
$ cabal install websockets
An initial WebSockets library was written in 2010 by Siniša Biđin. In 2011, it was rewritten from scratch, and extended to its current state by Jasper Van der Jeugt, who is also the current maintainer.
Contributors:
Pull requests are always welcome!
This library is production-quality. Therefore we have very high standards in terms of code style, API quality and testing.
We have three kinds of tests:
tests/haskell), which use the test-framework librarytests/javascript. These require a browser to
run.(top 30 of 62)
Haskell
90.3%
JavaScript
3.7%
HTML
2.1%
Python
1.4%
C
1.3%