package erm_xmpp

  1. Overview
  2. Docs

Parameters

module X : XMPP.S

Signature

val ns_roster : string option
type ask_t =
  1. | AskSubscribe
type subscription_t =
  1. | SubscriptionNone
  2. | SubscriptionBoth
  3. | SubscriptionFrom
  4. | SubscriptionRemove
  5. | SubscriptionTo
type item = {
  1. group : string list;
  2. approved : bool;
  3. ask : ask_t option;
  4. jid : JID.t;
  5. name : string;
  6. subscription : subscription_t;
}
val decode : Xml.attribute list -> Xml.element list -> Xml.cdata option * item list
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:string -> ?jid_to:string -> ?lang:string -> ?ver:Xml.cdata -> item list -> unit X.t) -> unit X.t
OCaml

Innovation. Community. Security.