package websocket

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module IO : Cohttp.S.IO

Signature

type mode =
  1. | Client of int -> string
  2. | Server
val make_read_frame : ?buf:Stdlib.Buffer.t -> mode:mode -> IO.ic -> IO.oc -> unit -> Frame.t IO.t
val write_frame_to_buf : mode:mode -> Stdlib.Buffer.t -> Frame.t -> unit
OCaml

Innovation. Community. Security.