$api->requestHeaders()
Returns all headers from the request if available
Parameters
Name | Type | Default |
---|---|---|
$key | string |null |
null |
$default | mixed |
null |
Return type
mixed
|null
Returns all headers from the request if available
Name | Type | Default |
---|---|---|
$key | string |null |
null |
$default | mixed |
null |
mixed
|null