BrowserAPI
BrowserSetProxy( in nProxyType : number, in sHost : string, in nPort : number ): boolean;
Parameter | Description |
---|---|
nProxyType | Proxy type. Can be one of the following types:
|
sHost | Host name of the proxy server. Specify an empty string ("") to establish a direct connection for the specific protocol. |
nPort | Port that the proxy server listens to. |
true if successful
false otherwise
transaction TMain begin BrowserStart(BROWSER_MODE_DEFAULT, 800, 600); BrowserSetProxy(BROWSER_PROXY_HTTP, "proxy.mydomain.com", 8080); BrowserNavigate("www.mycompany.com"); end TMain;