module IO : Cohttp.S.IO with type 'a t = 'a IO.tval create : ?read_buf:Stdlib.Buffer.t -> ?write_buf:Stdlib.Buffer.t -> mode:Websocket.Connection.mode -> Cohttp.Request.t -> IO.ic -> IO.oc -> tval send : t -> Websocket.Frame.t -> unit IO.tval send_multiple : t -> Websocket.Frame.t list -> unit IO.tval recv : t -> Websocket.Frame.t IO.tval req : t -> Cohttp.Request.tval upgrade_connection : ?read_buf:Stdlib.Buffer.t -> ?write_buf:Stdlib.Buffer.t -> Cohttp.Request.t -> (t -> unit IO.t) -> [> `Expert of Cohttp.Response.t * (IO.ic -> IO.oc -> unit IO.t) ]