package websocket

  1. Overview
  2. Docs

Module Websocket.MakeSource

Parameters

module IO : Cohttp.S.IO

Signature

Sourcemodule IO : Cohttp.S.IO with type 'a t = 'a IO.t with type ic = IO.ic with type oc = IO.oc
Sourcetype mode =
  1. | Client of int -> string
  2. | Server
Sourceval make_read_frame : ?buf:Buffer.t -> mode:mode -> IO.ic -> IO.oc -> unit -> Frame.t IO.t
Sourceval write_frame_to_buf : mode:mode -> Buffer.t -> Frame.t -> unit
Sourcemodule Request : Cohttp.S.Http_io with type t = Cohttp.Request.t and type 'a IO.t = 'a IO.t and type IO.ic = IO.ic and type IO.oc = IO.oc
Sourcemodule Response : Cohttp.S.Http_io with type t = Cohttp.Response.t and type 'a IO.t = 'a IO.t and type IO.ic = IO.ic and type IO.oc = IO.oc
Sourcemodule Connected_client : sig ... end
OCaml

Innovation. Community. Security.