SetURL method: PTDirectTransferObject class
Syntax
SetURL(URL)
Description
Use the SetURL method to set the target URL to which the request is triggered.
Note:
This method is optional. If the method is not used, the target URL is set to the URL of the default search instance.
Parameters
| Parameter | Description |
|---|---|
|
URL |
Specifies the URL as a String. |
Returns
An Integer value indicating the libcurl error code.
Example
Local PTDirectTransferObject &PTDTObject = CreateDirecttransferObject();
Local integer &return = &PTDTObject.SetURL("http://host:port/");