Share this page

# web_set_secure_proxy

Specifies that all secure HTTPS requests be directed to the specified secure proxy server.

## C Language

    int web_set_secure_proxy( const char *secure_proxy_host_port );

Proxy Server Functions

## Java Language

    int object.set_secure_proxy( String secure_proxy_host_port );

Proxy Server Functions | Java Syntax

Argument | Description
--- | ---
object | An expression evaluating to an object of type WebApi. Usually web for Java. See also Function and Constant Prefixes.
secure_proxy_host: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.netvision.net.il:8080.

## Return Values

This function returns LR_PASS (0) on success, and LR_FAIL (1) on failure.

## Parameterization

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

## General Information

The web_set_secure_proxy function is a service function that specifies that all subsequent HTTPS requests be directed to the specified secure proxy server.

The web_set_secure_proxy function works in the same way as web_set_proxy, but sets the SSL proxy (HTTPS) instead of the HTTP proxy.

This function is supported for all web scripts.

## C Example

The following example specifies that all subsequent HTTPS requests be directed to the secure proxy server proxy03.myips.com, port 8080:

    web_set_secure_proxy("proxy03.myips.com:8080");

## Java Example

The following example specifies that all subsequent HTTPS requests be directed to the secure proxy server proxy03.myips.com, port 8080:

    web.set_secure_proxy("proxy03.myips.com: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: