For the Opscode.Continuation case, it should properly implement the websocket protocol to concatenate the fragments. See this helpful blog post for more on the subject.
Yo @struktured
Please use https://github.com/deepmarker/ocaml-fastws
I haven't touched this code for ages, while I use the latter in production.
It has the feature you need, BTW.
Best,
Vincent
The
react
function, which is called upon each frame received, closes the pipe if the ops code is one ofOpscode.Continuation | Opscode.Nonctrl _ | Opscode.Ctrl _
, as defined here: https://github.com/vbmithr/ocaml-websocket/blob/master/async/websocket_async.ml#L172.For the
Opscode.Continuation
case, it should properly implement the websocket protocol to concatenate the fragments. See this helpful blog post for more on the subject.