Set proxy configuration to connect to AWS services
public setProxy ( string $host, integer $port = 3128, string $user = null, string $pass = null, integer $type, integer $authType = 1 ) | ||
$host | string | |
$port | integer | |
$user | string | |
$pass | string | |
$type | integer | Allowed values 4 - SOCKS4, 5 - SOCKS5, 0 - HTTP |
$authType | integer | Allowed authtypes: 1 - Basic, Digest - 2, GSSNeg - 4, NTLM - 8, any - -1 |