nitroHandler.set_proxy (set or clear)

Parameters: Up to four <string> values, which must be specified in the following order:

host - the proxy server URL.
port - the port to use on the proxy server. If not given, defaults to 80.
user login - the server login ID required by the proxy. Defaults to blank.
user password - the login's password. Defaults to blank.

Clearing Proxy Settings

If no parameters are given, then the current proxy information will be deleted.

Return values: A <struct> of name-value pairs, containing the following values:

value type description
error <int> An error code. See below for a list of error codes.
message <string> A text description of the error code.

For example, using a Tcl client you could enter

nitroHandler.set_proxy http://www.coulter.com 23 fmurphy mypwd

And you might get back

{error 0 message Ok}

Comments