Package0.13.0.0Network
websockets
A sensible and clean way to write WebSocket-capable servers in Haskell.
- Version0.13.0.0
- CategoryNetwork
- LicenceBSD-3-Clause
- AuthorSiniš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
- MaintainerJasper Van der Jeugt <m@jaspervdj.be>
- Homepagejaspervdj.be/websockets
- Pinned byhackage websockets 0.13.0.0
- Sourcehackage.haskell.org/package/websockets-0.13.0.0
Modules
6 modules- Network.WebSockets62
- Network.WebSockets.Client11This part of the library provides you with utilities to create WebSockets
- Network.WebSockets.Connection33This module exposes connection internals
- Network.WebSockets.Connection.PingPong4
- Network.WebSockets.Extensions5
- Network.WebSockets.Stream8Lightweight abstraction over an input/output stream.
Description
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:
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/
Depends on
14 packages- SHA-1.6.4.4in this set
- async-2.2.5in this set
- attoparsec-0.14.4in this set
- base-4.20.2.0with GHC
- base64-bytestring-1.2.1.0in this set
- binary-0.8.9.3with GHC
- bytestring-0.12.2.0with GHC
- case-insensitive-1.2.1.0in this set
- containers-0.7with GHC
- entropy-0.4.1.11in this set
- network-3.2.8.0in this set
- random-1.2.1.3in this set
- streaming-commons-0.2.3.0in this set
- text-2.1.3with GHC