servant-websockets

Small library providing WebSocket endpoints for servant.

https://github.com/moesenle/servant-websockets#readme

Version on this page:1.0.0
LTS Haskell 22.13:2.0.0
Stackage Nightly 2024-03-14:2.0.0
Latest on Hackage:2.0.0

See all snapshots servant-websockets appears in

BSD-3-Clause licensed by Lorenz Moesenlechner
Maintained by [email protected]
This version can be pinned in stack with:servant-websockets-1.0.0@sha256:7fce7e16a25e47dd65a8c5a32fdf7d439b490be075d4ba038a2a406d2a4ec3c9,2188

Module documentation for 1.0.0

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.

Changes

Version 1.0.0

  • Initial release of servant-websockets.