package websocket

  1. Overview
  2. Docs
type t
val create : ?read_buf:Stdlib.Buffer.t -> ?write_buf:Stdlib.Buffer.t -> Cohttp.Request.t -> Conduit.endp -> IO.ic -> IO.oc -> t
val make_standard : t -> t
val send : t -> Frame.t -> unit IO.t
val send_multiple : t -> Frame.t list -> unit IO.t
val recv : t -> Frame.t IO.t
val http_request : t -> Cohttp.Request.t
val source : t -> Conduit.endp
OCaml

Innovation. Community. Security.