Closed andreas closed 5 years ago
This PR is the first stab at adding a websocket transport (protocol documentation). It's based on the following:
anmonteiro/ocaml-subscriptions-transport-ws
vbmithr/ocaml-websocket
Note that this PR requires pinning cohttp to master until a new release is out.
cohttp
master
The code generally needs some more spit'n polish, but it's in a workable state now.
This PR is the first stab at adding a websocket transport (protocol documentation). It's based on the following:
anmonteiro/ocaml-subscriptions-transport-ws
, from which I've taken the main protocol handling and edited somewhat.vbmithr/ocaml-websocket
, which has been simplified and made Mirage-compatible based on the thoughts in this issue and the work on response actions for Cohttp_lwt.Note that this PR requires pinning
cohttp
tomaster
until a new release is out.The code generally needs some more spit'n polish, but it's in a workable state now.