tsNetSetProxy |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | tsNetSetProxy <pProxyURL>, <pNoProxy>, <pUsername>, <pPassword>
|
Associations | tsnet |
Summary | Enable or disable the use of a proxy for networking transfers.
|
Edition | Indy |
Introduced | 8.1 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, server, mobile |
Parameters | Name | Type | Description |
---|
pProxyURL | | The hostname or IP address of the proxy server to be used
for all networking connections. Can be prefixed with socks4:// ,
socks4a:// , socks5:// , socks5h:// or http:// to specify the
type of proxy to use. If there is no protocol specified, HTTP will be
assumed. The use of socks5h:// indicates that the proxy will do the
resolving of hostnames. Append :port to specify the port number to
be used, otherwise port 1080 will be assumed.
|
pNoProxy | | Can be a comma separated list of host names that should
bypass the proxy. Host names can include a port number after a ':'.
|
pUsername | | The username to authenticate with the proxy server. Set
to empty to disable authentication.
|
pPassword | | The password to authenticate with the proxy server. Set
to empty to disable authentication.
|
|
Example | tsNetSetProxy "http://proxy.mydomain.com:1080" \
, "local.mydomain.com,intranet.mydomain.com" \
, "proxyusername", "proxypassword"
tsNetSetProxy ""
|
Related | Library: tsNet
|
Description | Note that setting a proxy will affect all protocols, not just HTTP.
|
Tags | externals |