websocket
Websocket.IO
module IO : Cohttp.S.IO
type mode =
| Client of int -> string
| Server
val make_read_frame : ?buf:Buffer.t -> mode:mode -> IO.ic -> IO.oc -> unit -> Frame.t IO.t
val write_frame_to_buf : mode:mode -> Buffer.t -> Frame.t -> unit