Documentation

getHttpHeader

string|null public
\Bitrix\Conversion\Internals\MobileDetect::getHttpHeader(
 string $header
);

Non-static method gets a specific header. When don't exist, error/exception is not thrown. Returns empty value.

Parameters

ParameterDescriptionVersion
$headerRetrieved header name. Can be HTTP-like, for example "User-Agent" or "X-Device-User-Agent". Or PHP-like with all capital letters and underscores instead hyphens.


© «Bitrix24», 2001-2024
Up