xcon.SetProxy

Description

This function can be used to configure a web proxy for an established connection.

Signature

void xcon.SetProxy (string, string, number, string, string)

Parameters

Name

Type

Mandatory/Optional

Description

Name

Type

Mandatory/Optional

Description



string

M

Handle that identifies the connection within the LUA script.



string

M

Host or IP address of proxy server.



number

M

Port number of proxy server.



string

M

Username for proxy connection. Empty if authentication is not required.

 

string

M

Password for proxy connection. Empty if authentication is not required.