package ws

  1. Overview
  2. Docs
Generic websocket implementation for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.1.tar.gz
md5=c1f9283e0afa9ea2f30d3bf64eb338fa
sha512=729267d7227084cc3214d36b4cb4d61f150586e61349ceba3bce3dd5cfff2f990ecbd153c07a7fa031f0a3cdca6121a2cb5b1e9be143a04c93dec257f5b78229

doc/ws/Ws/Make/index.html

Module Ws.Make

Parameters

Signature

module M_result : sig ... end
module F : sig ... end
val upgrade : (string * string) list -> ((string * string) list, (string * string) list) result
val handle : is_server:bool -> ((string option -> unit Io.M.t) -> (string option -> 'a Io.M.t) Io.M.t) -> Io.in_channel -> Io.out_channel -> unit Io.M.t
val handle_server : ((string option -> unit Io.M.t) -> (string option -> 'a Io.M.t) Io.M.t) -> Io.in_channel -> Io.out_channel -> unit Io.M.t
val handle_client : ((string option -> unit Io.M.t) -> (string option -> 'a Io.M.t) Io.M.t) -> Io.in_channel -> Io.out_channel -> unit Io.M.t