ws

Generic websocket implementation for OCaml
IN THIS PACKAGE
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