void public
\Bitrix\Main\Web\HttpClient::setAuthorization(
string $user,
string $pass
);
Non-static method sets header field for authentication query (Basic Authorization).
Parameters
Parameter | Description | Version |
$user | Login. | |
$pass | Passwords. | |
Example