package websocket

  1. Overview
  2. Docs
Websocket library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

websocket-2.17.tbz
sha256=39af5eb5534b2df5b65ccf700b0a620438be5f09864a8e80b48ab60ee67a7a9c
sha512=a8cd168236acfa1156fac5a007fe6875a35f8fb03eee30a94eb712a2dc981a967bb8fb74fdd7aa7892d148176070333d49311ea9600f5a210e56be8da32197c8

doc/websocket/Websocket/Make/index.html

Module Websocket.MakeSource

Parameters

module IO : Cohttp.S.IO

Signature

module 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