package erm_xmpp

  1. Overview
  2. Docs

Parameters

module X : XMPP.S

Signature

val ns_version : string option
type t = {
  1. name : string;
  2. version : string;
  3. os : string;
}
val encode : t -> Xml.element
val decode : 'a -> Xml.element list -> t option
val ignore : 'a -> unit X.t
val get : 'a X.session_data -> ?jid_from:JID.t -> ?jid_to:JID.t -> ?lang:Xml.cdata -> ?error_callback:(StanzaError.t -> unit X.t) -> (?jid_from:JID.t -> ?jid_to:JID.t -> ?lang:Xml.cdata -> t option -> unit X.t) -> unit X.t
val iq_request : get:(?jid_from:'a -> ?jid_to:'b -> ?lang:'c -> unit -> t) -> X.iq_request -> 'a option -> 'b option -> 'c option -> unit -> X.iq_response
OCaml

Innovation. Community. Security.