Documentation

setCookies

void public
\Bitrix\Main\Web\HttpClient::setCookies(
 array $cookies
);

Non-static method sets array with cookies for HTTP query.

Parameters

ParameterDescriptionVersion
$cookiesArray with pairs cookie_name => value.

Example



© «Bitrix24», 2001-2022
Up