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 ); 

Java Language

int object.set_secure_proxy( String secure_proxy_host_port ); 
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.