Make.1-Clienttype credentials = [ | `JidPassword of Xmpp.Jid.t * string | (* A JID password pair *) |
| `Anonymous of string | (* Anonymously *) |
]Credentials used to authenticate with XMPP server
val create : ?seed:Stdlib.Random.State.t -> transport_options -> credentials:credentials -> t Lwt.tval connect : t -> unit Lwt.tval disconnect : t -> unit Lwt.tval pp_state : state Fmt.tval on_connect : t -> Xmpp.Jid.t React.eventval jid : t -> Xmpp.Jid.t Lwt.tval stanzas : t -> Xmpp.Stanza.t React.eventval iq_gets : ?element:Xmlm.name -> t -> Xmpp.Stanza.Iq.get React.eventval iq_sets : ?element:Xmlm.name -> t -> Xmpp.Stanza.Iq.set React.eventexception StanzaError of Xmpp.Stanza.Error.tval iq_get : t -> ?to':Xmpp.Jid.t -> Xmlc.Tree.t -> Xmpp.Stanza.Iq.result Lwt.tval iq_set : t -> ?to':Xmpp.Jid.t -> Xmlc.Tree.t -> Xmpp.Stanza.Iq.result Lwt.tval send_message : t -> Xmpp.Stanza.Message.t -> unit Lwt.tval send_iq : t -> Xmpp.Stanza.Iq.t -> unit Lwt.tval send_presence : t -> Xmpp.Stanza.Presence.t -> unit Lwt.tval send_xml : t -> Xmlc.Tree.t -> unit Lwt.tval generate_id : t -> string