initialize
[mdref/mdref-http] / http / Env / getResponseStatusForCode.md
1 # static string http\Env::getResponseStatusForCode(int $code)
2
3 Retrieve the string representation of specified HTTP response code.
4
5 ## Parameters:
6
7 * ```int $code```
8 The HTTP response code to get the string representation for.
9
10 ## Returns:
11
12 * ```string```, the HTTP response status message
13 * empty ```string```, if no message for this code was found
14