Preparing search index...
The search index is not available
@quobis/sippojs
@quobis/sippojs
<internal>
XmppClient
Class XmppClient
Index
Constructors
constructor
Properties
client
emitter
lock
message
Promise
muc
Join
Promise
reconnecting
Interval
started
throttle
Lock
Methods
add
Bookmark
bind
Event
Listeners
configure
Room
connect
Client
delete
Account
destroy
Room
disable
Notifications
disconnect
Client
enable
Notifications
get
Bookmarks
get
Disco
Info
get
Room
Config
get
Room
Members
invite
join
Room
mark
Displayed
mark
Received
on
Disconnected
on
Event
on
Muc
Error
on
Muc
Join
on
Stanza
Acked
remove
Bookmark
request
File
Upload
Slot
search
History
send
Mark
send
Message
set
Room
Affiliation
set
Subject
start
stop
unbind
Event
Listeners
Constructors
constructor
new
Xmpp
Client
(
chatUri
,
token
,
jid
)
:
XmppClient
Parameters
chatUri
:
string
token
:
string
jid
:
string
Returns
XmppClient
Properties
Private
client
client
:
Agent
emitter
emitter
:
EventEmitter2
= ...
Private
lock
lock
:
default
= ...
Private
message
Promise
message
Promise
:
{}
= {}
Type declaration
Private
muc
Join
Promise
muc
Join
Promise
:
{}
= {}
Type declaration
Private
reconnecting
Interval
reconnecting
Interval
:
undefined
|
Timeout
Private
started
started
:
boolean
= false
Private
throttle
Lock
throttle
Lock
:
default
= ...
Methods
add
Bookmark
add
Bookmark
(
bookmark
)
:
Promise
<
void
>
Parameters
bookmark
:
MUCBookmark
Returns
Promise
<
void
>
bind
Event
Listeners
bind
Event
Listeners
(
)
:
void
Returns
void
configure
Room
configure
Room
(
room
,
form
)
:
Promise
<
IQ
&
{
muc
:
MUCConfigure
;
}
>
Parameters
room
:
string
form
:
Partial
<
DataForm
>
Returns
Promise
<
IQ
&
{
muc
:
MUCConfigure
;
}
>
Private
connect
Client
connect
Client
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
delete
Account
delete
Account
(
jid
)
:
Promise
<
void
>
Parameters
jid
:
string
Returns
Promise
<
void
>
destroy
Room
destroy
Room
(
room
,
options
)
:
Promise
<
IQ
&
{
muc
:
MUCConfigure
;
}
>
Parameters
room
:
string
options
:
MUCDestroy
Returns
Promise
<
IQ
&
{
muc
:
MUCConfigure
;
}
>
disable
Notifications
disable
Notifications
(
jid
,
node
)
:
Promise
<
IQ
>
Parameters
jid
:
string
node
:
string
Returns
Promise
<
IQ
>
disconnect
Client
disconnect
Client
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
enable
Notifications
enable
Notifications
(
jid
,
node
,
fieldList
)
:
Promise
<
IQ
>
Parameters
jid
:
string
node
:
string
fieldList
:
DataFormField
[]
Returns
Promise
<
IQ
>
get
Bookmarks
get
Bookmarks
(
)
:
Promise
<
MUCBookmark
[]
>
Returns
Promise
<
MUCBookmark
[]
>
get
Disco
Info
get
Disco
Info
(
jid
)
:
Promise
<
DiscoInfoResult
>
Parameters
jid
:
string
Returns
Promise
<
DiscoInfoResult
>
get
Room
Config
get
Room
Config
(
jid
)
:
Promise
<
DataForm
>
Parameters
jid
:
string
Returns
Promise
<
DataForm
>
get
Room
Members
get
Room
Members
(
jid
,
affiliation
)
:
Promise
<
IQ
&
{
muc
:
MUCUserList
;
}
>
Parameters
jid
:
string
affiliation
:
MUCAffiliation
Returns
Promise
<
IQ
&
{
muc
:
MUCUserList
;
}
>
invite
invite
(
room
,
options
)
:
void
Parameters
room
:
string
options
:
MUCInvite
|
MUCInvite
[]
Returns
void
join
Room
join
Room
(
jid
,
nick
,
options
?
)
:
Promise
<
void
>
Parameters
jid
:
string
nick
:
string
options
:
Presence
= {}
Returns
Promise
<
void
>
mark
Displayed
mark
Displayed
(
to
,
id
,
type
)
:
void
Parameters
to
:
string
id
:
string
type
:
MessageType
Returns
void
mark
Received
mark
Received
(
to
,
id
,
type
)
:
void
Parameters
to
:
string
id
:
string
type
:
MessageType
Returns
void
on
Disconnected
on
Disconnected
(
)
:
void
Returns
void
Private
on
Event
on
Event
(
eventName
,
eventData
)
:
void
Parameters
eventName
:
string
eventData
:
any
Returns
void
Private
on
Muc
Error
on
Muc
Error
(
event
)
:
void
Parameters
event
:
any
Returns
void
Private
on
Muc
Join
on
Muc
Join
(
event
)
:
void
Parameters
event
:
any
Returns
void
Private
on
Stanza
Acked
on
Stanza
Acked
(
event
)
:
void
Parameters
event
:
any
Returns
void
remove
Bookmark
remove
Bookmark
(
jid
)
:
Promise
<
void
>
Parameters
jid
:
string
Returns
Promise
<
void
>
request
File
Upload
Slot
request
File
Upload
Slot
(
jid
,
name
,
size
,
mediaType
?
)
:
Promise
<
RequestFileUploadSlotResponse
>
Parameters
jid
:
string
name
:
string
size
:
number
Optional
mediaType
:
string
Returns
Promise
<
RequestFileUploadSlotResponse
>
search
History
search
History
(
query
)
:
Promise
<
MAMFin
>
Parameters
query
:
MAMQueryOptions
Returns
Promise
<
MAMFin
>
Private
send
Mark
send
Mark
(
to
,
id
,
type
,
mark
)
:
void
Parameters
to
:
string
id
:
string
type
:
MessageType
mark
:
"received"
|
"displayed"
Returns
void
send
Message
send
Message
(
message
)
:
Promise
<
void
>
Parameters
message
:
Message
Returns
Promise
<
void
>
set
Room
Affiliation
set
Room
Affiliation
(
room
,
jid
,
affiliation
,
reason
?
)
:
Promise
<
IQ
&
{
muc
:
MUCUserList
;
}
>
Parameters
room
:
string
jid
:
string
affiliation
:
MUCAffiliation
Optional
reason
:
string
Returns
Promise
<
IQ
&
{
muc
:
MUCUserList
;
}
>
set
Subject
set
Subject
(
room
,
subject
)
:
void
Parameters
room
:
string
subject
:
string
Returns
void
start
start
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stop
stop
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
unbind
Event
Listeners
unbind
Event
Listeners
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
client
emitter
lock
message
Promise
muc
Join
Promise
reconnecting
Interval
started
throttle
Lock
add
Bookmark
bind
Event
Listeners
configure
Room
connect
Client
delete
Account
destroy
Room
disable
Notifications
disconnect
Client
enable
Notifications
get
Bookmarks
get
Disco
Info
get
Room
Config
get
Room
Members
invite
join
Room
mark
Displayed
mark
Received
on
Disconnected
on
Event
on
Muc
Error
on
Muc
Join
on
Stanza
Acked
remove
Bookmark
request
File
Upload
Slot
search
History
send
Mark
send
Message
set
Room
Affiliation
set
Subject
start
stop
unbind
Event
Listeners
@quobis/sippojs
Loading...