$request->header()
Returns a header by key if it exists
$request->header(string $key, $fallback = null)
Parameters
Name | Type | Default |
---|---|---|
$key * | string |
– |
$fallback | mixed |
null |
Returns a header by key if it exists
$request->header(string $key, $fallback = null)
Name | Type | Default |
---|---|---|
$key * | string |
– |
$fallback | mixed |
null |