forked from jaspervdj/websockets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
58 lines (41 loc) · 1.41 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
websockets
==========
Introduction
------------
Provides a sensible, clean and simple way to write WebSocket-capable servers in
Haskell.
The following program echoes messages back after appending `meow`:
meow :: TextProtocol p => WebSockets p ()
meow = forever $ do
msg <- receiveData
sendTextData $ msg `T.append` ", meow."
Installation is provided using cabal:
cabal install websockets
Compatibility
-------------
The `Hybi00`, `Hybi10` and `Rfc6455` protocols are all supported by the library.
Protocol Firefox Chrome Opera Safari
--------- -------- ------- ------ ---------
`Hybi00` >= 4 >= 6 >= 11 >= 5.0.1
`Hybi10` >= 7 >= 14
`Rfc6455` >- 16
Authors
-------
An initial WebSockets library was written in 2010 by Siniša Biđin. In 2011, it
was rewritten from scratch, and extended to it's current state by Jasper Van der
Jeugt, who is also the current maintainer.
Contributors:
- Alex Lang
- Fedor Gogolev
- Nathan Howell
- Steffen Schuldenzucker
- Yi Huang
- Carl Chatfield
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 two kinds of tests: Haskell-based tests (`tests/haskell`), which use the
`test-framework` library. Additionally, there are integration tests available
in `tests/javascript`, which require a browser to run.