Method: PHPCrawler::setProxy()



Assigns a proxy-server the crawler should use for all HTTP-Requests.
Signature:

public setProxy($proxy_host, $proxy_port, $proxy_username = null, $proxy_password = null)

Parameters:

$proxy_host string Hostname or IP of the proxy-server
$proxy_port int Port of the proxy-server
$proxy_username string Optional. The username for proxy-authentication or NULL if no authentication is required.
$proxy_password string Optional. The password for proxy-authentication or NULL if no authentication is required.

Returns:

No information

Description:

-