Module Xmpp_roster.Make

Parameters

Signature

module Ns : sig ... end
module Item : sig ... end
type client = Client.t

Roster Management

type roster = Item.t Xmpp.Jid.Map.t
val get : client -> roster Lwt.t
val roster : client -> roster React.signal Lwt.t
val add_update : client -> ?name:string -> ?groups:string list -> Xmpp.Jid.t -> Xmpp.Stanza.Iq.result Lwt.t
val remove : client -> Xmpp.Jid.t -> Xmpp.Stanza.Iq.result Lwt.t

Managing Presence Subscription

val presence_subscribe : client -> Xmpp.Jid.t -> unit Lwt.t
val presence_unsubscribe : client -> Xmpp.Jid.t -> unit Lwt.t
val approve_presence_subscription : client -> Xmpp.Jid.t -> unit Lwt.t
val deny_presence_subscription : client -> Xmpp.Jid.t -> unit Lwt.t