Mobile_Detect::getHttpHeader
Retrieves a particular header. If it doesn't exist, no exception/error is caused.
Simply null is returned.
Signature
public function getHttpHeader(string
$header )
Parameters
$header
— string- The name of the header to retrieve. Can be HTTP compliant such as
"User-Agent" or "X-Device-User-Agent" or can be php-esque with the
all-caps, HTTP_ prefixed, underscore seperated awesomeness.
Returns
- string|null
- The value of the header.