c30a4d7d54d48ccb5d341c6b41aae439c7482fa9
[mdref/mdref] / http / Env / getResponseHeader.md
1 # static mixed http\Env::getResponseHeader([string $header_name])
2
3 Get one or all HTTP response headers to be sent.
4
5 ## Parameters:
6
7 * Optional ```string $header_name```
8 The name of the response header to retrieve.
9
10 ## Returns:
11
12 * ```string```, the compound value of the response header to send
13 * ```NULL```, if the header was not found
14 * ```array```, of all response headers, if $header_name was not specified