web_set_pac
Sets the location of the proxy auto-configuration (PAC) script.
int web_set_pac( const char *pacURL );
Argument | Description |
---|---|
pacURL | The URL of the proxy auto-configuration file. Do not use a local path-name. |
Return Values
This function returns LR_PASS (0) on success, and LR_FAIL (1) on failure.
Parameterization
All input arguments can be parameterized using standard parameterization.
General Information
Proxy servers returned by PAC script evaluation may require authentication. Credentials set in the Runtime Settings are ignored for these proxies.
Supply any required credentials for the proxy servers defined in the PAC with web_set_user steps. Add a web_set_user step for each proxy server that will be accessed. Place the web_set_user calls before the web_set_pac step.
To submit HTTP requests without using the PAC, pass an empty string: web_set_pac ( "" ).