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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0.0, 1.1.0, 2.0.0
Change log CHANGELOG.md
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
Maintainer moesenle@gmail.com
Category Servant, Web
Home page https://github.com/moesenle/servant-websockets#readme
Source repo head: git clone https://github.com/moesenle/servant-websockets
Uploaded by moesenle at 2017-08-15T16:01:33Z
Distributions LTSHaskell:2.0.0, NixOS:2.0.0, Stackage:2.0.0
Reverse Dependencies 2 direct, 0 indirect [details]
Executables websocket-stream, websocket-echo
Downloads 5837 total (28 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-08-15 [all 1 reports]

Readme for servant-websockets-1.0.0

[back to package description]

Introduction

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

This library provides two servant endpoints: WebSocket and WebSocketConduit. The former is a low-level interface for directly interacting with a Connection (see the websockets library for more information). The latter provides a conduit based endpoint for JSON serializable input and output.

See the module documentation for examples.