package websocket

  1. Overview
  2. Docs
Websocket library

Install

Dune Dependency

Authors

Maintainers

Sources

websocket-2.16.tbz
sha256=1221f4683ddad884dbd62bc3f0ee59e8cd1b0c770c356357c5e6100ac87dc5eb
sha512=1561b022380e6bc21561d36cbce1e2e28cdd08fc47f5c91f7dd9f514cb1b3f4866534512f22e85086727a758695c22125735397b5955a70f476e1b9d8cbc75c4

CHANGES.html

CHANGES

2.16 (2023-01-02) Nancy
-----------------------

- flush output after writing frames
- ocamlformat: use default profile
- async: Adapt to Core/Async v0.15

2.15 (2021-03-16) Nancy
-----------------------

- Lwt (interface): abstract conn type (@paurkedal)
- Lwt (name change): with_connection -> connect
- Cohttp: adapt to new version (@kit-ty-kate)
- Conduit: adapt to new version (@MisterDA)

2.14 (2020-03-5) Paris
----------------------

- bugfix: cohttp_lwt: call conn_closed on fd close (@NightBlues)
- fix compilation with newer async (@copy)
- fix compilation with newer conduit (@tizoc)

2.13 (2019-03-17)
-----------------

- Async: use logs_async
- Async: upgrade_connection API (@kkazuo)
- Lwt: fix upgrade_connection for TLS (API change)
- Upgrade Base64 support to 3.1.0

2.12 (2018-10-01)
-----------------

- build: switch to `dune`

2.11 (2017-12-19)
-----------------

- Lwt: fix compilation for Cohttp_lwt_unix >= 1.0

2.10 (2017-08-01)
-----------------

- Build: use jbuilder
- Lwt: add `check_origin` (@zoggy)
- Lwt: add `send_multiple` (@copy)

2.9 (2017-03-20)
-----------------

- Lwt: rename ?exception_handler to ?on_exn, to match Conduit
- Async: Add ?check_request with the same interface as Lwt backend
- Fix compilation with the dev version of Async

2.8 (2017-03-01)
----------------

- drop dependency to ppx_deriving
- bugfix: fix corrupted received frame (@zoggy)

2.7 (2017-02-21)
----------------

- new websocket.cohttp package to upgrade to websocket from cohttp (@SimonJF)
- lwt: function `source' now covers all conduit cases
- async: refactoring and fixes
- perf improvement (Avoid generating xor mask if it isn't used) (@copy)
- remove dependency to containers library
- lwt: Add callback to check origin before websocket connection (@copy)
- lwt: Improve error handling in lwt server (@copy)
- async: more efficient logging

2.6 (2016-09-17)
----------------

- async: client_ez: kill the connection on absence of PONG reply
- async: client_ez: fix PONG watch code
- websocket: use read_exactly (@copy)

2.5 (2016-08-16)
----------------

- async: client_ez: add an ?opcode argument
- lwt: unset async_exception_hook (@copy)

2.4 (2016-07-26)
----------------

- bugfix: Handle truncated cohttp stream reads (@kayceesrk)
- cleanup: Async version does not depend on containers anymore
- build: fix META generation, fixing Async-only installation

2.3 (2016-06-29)
----------------

- async: bugfix: fix fd leak that occurred when pipes were not closed
- async: log, name as optional args in functions
- lwt server: support from connection upgrade (@lostman)
- bugfix: fix reading int64 encoded frame size
- async server: bugfixes and interface improvement (@copy)
- parametrize random string generation (@j0sh)
- async client: minor improvements

2.2 (2015-12-23)
----------------

- Async backend
- Code refactoring, bugfixes and upgrade to new version of libraries

2.1 (2015-07-07)
----------------

- server: Pass in a Cohttp.Request.t instead of Uri.t
- add Websocket_Lwt.{mk_frame_stream,establish_standard_server}
- websocket_lwt.cm{a,xa} now only contains module Websocket_lwt
- Fix upgrade, keepalive issue with Firefox regression
- Websocket_lwt: Use entropy generator

2.0.0 (2015-06-18)
------------------

- Breaking API change: not Lwt_stream based anymore
- Switch to conduit (TLS)
- Functorisation of common code, new Websocket_lwt module
- More RFC compliance using Autobahn Test Suite
- Bugfixes

0.9.3 (2015-03-23)
------------------

- Support TLS 0.4.0+ API.

0.9.2 (2015-02-10)
------------------

- Bugfix: Do not verify result of setsockopt

0.9.1 (2015-01-03)
------------------

- safe_string
- fix a critical bug that when handling masked frames

0.9 (2014-08-21)
----------------

- Drop support for OCaml < 4
- Replace Cryptokit by Nocrypto
- Replace Lwt_ssl by Tls_lwt for TLS
- Add TLS support for the websocket server
- Replace OASIS by topkg
- Removing camlp4
- Minor interface changes

0.8.2 (2014-06-09)
------------------

- [doc] Add a warning in the doc of `establish_server`
- Close frame now contain a status code (TODO: expose it somewhere)
- Fix fd leakages (hopefully the library should not leak any fds anymore)
- Use OASIS' compiled_setup_ml feature

0.8.1 (2014-03-26)
------------------

- Upgrade to OASIS 0.4

0.8 (2014-03-26)
----------------

- decode connection upgrade header with regex

0.7 (2014-03-02)
----------------

- New "extra_headers" optional argument for {open,with}_connection (acm)
- Port to cohttp 0.10.x API (avsm)

0.6 (2013-08-20)
----------------

- Added SSL support for the client.

0.5 (2013-05-06)
----------------

- First working release.
OCaml

Innovation. Community. Security.