public static proxy ( string $address, integer $port = 1080, integer $type = CURLPROXY_HTTP, boolean $tunnel = false ) | ||
$address | string | proxy address |
$port | integer | proxy port |
$type | integer | (Available options for this are CURLPROXY_HTTP, CURLPROXY_HTTP_1_0 CURLPROXY_SOCKS4, CURLPROXY_SOCKS5, CURLPROXY_SOCKS4A and CURLPROXY_SOCKS5_HOSTNAME) |
$tunnel | boolean | enable/disable tunneling |