Back to product page

Capabilities property


Holds list of capabilities shown to the server.

Type

String

Syntax

  • Basic
object.Capabilities [= value]
The Capabilities(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodXMPP
valueA String value.

Remarks

This Property determines which capabilities are shown to the server. Clients can implement various capabilities which they support and they present it to the server. These capabilities are usually exchanged with other clients so they can utilize them between each other. Typical example would be 'HTML' capability - when supported, two clients can exchange HTML decorated messages instead of plaintext.

It depends on the server whether it will send your capabilities to other clients on the network. You can see your contact's capabilities too - if available.

Platforms

Windows