ws
Generic websocket implementation for OCaml
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Parameters
module Io : Interface'.Io.S
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