Back to product page

Add method


Adds new service to the collection.

Type

XMPPService object

Syntax

  • Basic
object.Add (Service)
The Add(object,Service) syntax has these parts:
objectAn expression evaluating to an object of type XMPPServices
ServiceString.

Remarks

This method will add a new service to Services collection - which holds list of all services currently supported by the server. This collection internally is filled as a result of Discover method call. However, you can add services manually if you have reasons to do so. This method is used internally by wodXMPP, but provided for advanced users for more flexibility.

Platforms

Windows