servant-websockets: Small library providing WebSocket endpoints for servant.

[ bsd3, library, program, servant, web ] [ Propose Tags ]

Small library providing WebSocket endpoints for servant.

[Skip to Readme]
Versions 1.0.0, 1.1.0
Change log
Dependencies aeson, async, base (>=4.7 && <5), bytestring, conduit, exceptions, resourcet, servant-server, servant-websockets, text, wai, wai-websockets, warp, websockets [details]
License BSD-3-Clause
Copyright 2017 Lorenz Moesenlechner
Author Lorenz Moesenlechner
Category Servant, Web
Home page
Source repo head: git clone
Uploaded by moesenle at Sun Jan 21 16:29:42 UTC 2018
Distributions LTSHaskell:1.1.0, NixOS:1.1.0, Stackage:1.1.0, openSUSE:1.1.0
Executables websocket-stream, websocket-echo
Downloads 258 total (11 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-01-21 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for servant-websockets-1.1.0

[back to package description]


This small library provides two servant endpoints for implementing websockets and is based on websockets and wai-websockets.

This library provides three servant endpoints: WebSocket, WebSocketPending and WebSocketConduit. WebSocket is is a low-level interface for directly interacting with a Connection (see the websockets library for more information). WebSocketPending allows using the rejectRequest with various return codes for greater control. WebSocketConduit provides a conduit based endpoint for JSON serializable input and output.

See the module documentation for examples.