Documentation

get

null|string|array public
\Bitrix\Main\Web\HttpHeaders::get(
 string $name,
 boolean $returnArray = false
);

Non-static method returns header by its name.

Parameters

ParameterDescriptionVersion
$nameHeader name.
$returnArrayWhen true, returns array with several values.

Example



© «Bitrix24», 2001-2022
Up