module Jabber_sync: sig
.. end
Synchronous (blocking) Jabber client sessions, suitable for creating components and bots. You must link with the nums
, unix
, and cryptokit
in addition to the jabber
and jabber_sync
modules to use this.
exception Protocol_error of string
Raised if a protocol error occurs, e.g., unrecognized stream namespace from server
exception Auth_error of string
Raised if authentication fails.
class type session = object
.. end
The type of a Jabber session object.
val mk_session : unit -> session
Creates a new session.