Share this page

# web_set_pac

Example: web_set_pac | Proxy Server Functions

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 ( "" ).

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: