Back to product page

Resource property


Holds connection's resource.

Type

String

Syntax

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

Remarks

This Property defaults to 'wodXMPP' and represents Resource used when connecting to the server. Same resource can also be supplied in Login property as last part of the JID (user@hostname/resource). You can connect to same server using same Login/Password combination, but with different resource. This allows your contacts to see you multiple times - such as on Work computer, Home computer, etc...

Platforms

Windows