You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

XMPP

Structr provides a scriptable XMPP Client Implementation based on the XMPPClient entity.

The XMPP scripting guide is available as a part of the extended documentation for support customers.

Search results for "XMPP"

XMPP

Structr provides a scriptable XMPP Client Implementation based on the XMPPClient entity.

XMPPClient is a base type that provides a Scriptable XMPP Client Implementation.

XMPPClient extends AbstractNode and provides the following additional properties.

Name Type Description
xmppUsername String The username of this XMPPClient
xmppPassword String The password for this XMPPClient
xmppService String The service name to connect to
xmppHost String The host name to connect to
xmppPort Integer The port to connect to
isEnabled Boolean A boolean value that indicates whether this XMPPClient is enabled (should connect to a server and receive messages)
isConnected Boolean A boolean value that indicates whether this XMPPClient is connected to a server

Example:

let xmppClient = $.this;
xmppClient.doJoinChat('chatRoom@conference.server.org', 'nickname', 'password');

logback-include.xml