initialize
[mdref/mdref-http] / 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