setProxy
void public \Bitrix\Main\Web\HttpClient::setProxy( string $proxyHost, null|integer $proxyPort = null, null|string $proxyUser = null, null|string $proxyPassword = null );
Non-static method sets HTTP proxies for query.
Parameters
Parameter | Description | Version |
---|---|---|
$proxyHost | Host name or address (without http://). | |
$proxyPort | Port number. | |
$proxyUser | User name. | |
$proxyPassword | User password. |
Example
© «Bitrix24», 2001-2024