1 # static string http\Env::negotiateEncoding(array $supported[, array &$result)
3 Negotiate the client's preferred encoding.
5 > ***NOTE:*** The first elemement of $supported encodings serves as a default if no encoding matches.
9 * ```array $supported```
10 List of supported content encodings.
11 * Optional reference ```array &$result```
12 Out parameter recording negotiation results.
16 * ```NULL```, if negotiation fails.
17 * ```string```, the negotiated encoding.