Share this page

# web.setProxy

Specifies that all subsequent HTTP requests be directed to the specified proxy server.

Proxy Server Functions

## Syntax

    web.setProxy( proxyHost:port );

Property Name | Description
--- | ---
proxyHost:port | The host name of the proxy server. Because a proxy server has no default port, always include the port number in the parameter. Use the format: "host:port". For example: proxy03.vision.net.il:8080.

## Return Values

Not applicable

## Parameterization

The following argument(s) can be parameterized using standard parameterization: proxy_host:port

## General Information

The web.setProxy function is a service function that specifies that all subsequent HTTP requests be directed to the specified Proxy Server. To submit HTTP requests directly to the server (that is, without using a proxy server), use the web.setProxy function to pass an empty string ("") as an argument.

## Example

    web.setProxy("proxy03.my_proxy_server.net:8080");

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