Up

Module Client_msg

The messages which the code using this library on the client side needs to process. That is, messages received from Server, or caused by a state change of a connection to Server.

Signature

module Control : sig .. end
type ('name, 'data) t =
| Control of 'name Control.t
| Data of ('name, 'data) Read_result.t
val t_of_sexp : 'name 'data . (Sexplib.Sexp.t -> 'name) -> (Sexplib.Sexp.t -> 'data) -> Sexplib.Sexp.t -> ('name, 'data) t
val sexp_of_t : 'name 'data . ('name -> Sexplib.Sexp.t) -> ('data -> Sexplib.Sexp.t) -> ('name, 'data) t -> Sexplib.Sexp.t
val bin_size_t : ('a -> int) -> ('b -> int) -> ('a, 'b) t -> int
val __bin_read_t__ : 'a -> 'b -> 'c -> pos_ref:Core.Std.Bin_prot.Common.pos Core.Std.ref -> 'd -> 'e
val bin_read_t : (Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos_ref -> 'a) -> (Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos_ref -> 'b) -> Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos_ref -> ('a, 'b) t