package erm_xmpp

  1. Overview
  2. Docs
val encode : Xml.element list -> Xml.element
val encode_item : ?actor:JID.t -> ?reason:Xml.cdata -> ?affiliation:affiliation -> ?jid:Xml.cdata -> ?nick:Xml.cdata -> ?role:role -> unit -> Xml.element
type item = {
  1. actor : JID.t option;
  2. reason : string option;
  3. jid : JID.t option;
  4. nick : string option;
  5. affiliation : affiliation option;
  6. role : role option;
}
val decode_item : Xml.element -> item
val decode : Xml.element -> item list
OCaml

Innovation. Community. Security.