Library
Module
Module type
Parameter
Class
Class type
type message = Message_t.message
val write_privmsg : Bi_outbuf.t -> privmsg -> unit
Output a JSON value of type privmsg
.
val string_of_privmsg : ?len:int -> privmsg -> string
Serialize a value of type privmsg
into a JSON string.
val read_privmsg : Yojson.Safe.lexer_state -> Lexing.lexbuf -> privmsg
Input JSON data of type privmsg
.
val write_message : Bi_outbuf.t -> message -> unit
Output a JSON value of type message
.
val string_of_message : ?len:int -> message -> string
Serialize a value of type message
into a JSON string.
val read_message : Yojson.Safe.lexer_state -> Lexing.lexbuf -> message
Input JSON data of type message
.
val write_send : Bi_outbuf.t -> send -> unit
Output a JSON value of type send
.
val read_send : Yojson.Safe.lexer_state -> Lexing.lexbuf -> send
Input JSON data of type send
.