$response->header()
Getter for single headers
$response->header(string $key): string|null
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $key * | string |
– | Name of the header |
Return type
string|null
Getter for single headers
$response->header(string $key): string|null
| Name | Type | Default | Description |
|---|---|---|---|
| $key * | string |
– | Name of the header |
string|null