jaspervdj / websockets

A Haskell library for creating WebSocket-capable servers

Home Page:http://jaspervdj.be/websockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

websockets

Hackage Version GitHub Workflow Status (with event)

Provides a sensible, clean and simple way to write WebSocket server and client in Haskell.

Features

  • Provides Server/Client implementations of the websocket protocol
  • withPingPong helper for stale connection checking
  • TLS support via wuss package

Caveats

Introduction

See server and client implementations.

Installation

Using cabal:

$ cabal install websockets

Authors

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:

  • Alex Lang
  • Carl Chatfield
  • Fedor Gogolev
  • Marcin Tolysz
  • Nathan Howell
  • Steffen Schuldenzucker
  • Yi Huang
  • Domen Kožar

Development

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:

  • Haskell-based tests (tests/haskell), which use the test-framework library
  • Integration tests, available in tests/javascript. These require a browser to run.
  • We also run the extensive autobahn testsuite.

About

A Haskell library for creating WebSocket-capable servers

http://jaspervdj.be/websockets

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Haskell 90.2%Language:JavaScript 3.7%Language:HTML 2.1%Language:Python 1.4%Language:C 1.3%Language:Shell 0.7%Language:CSS 0.6%