mdref.json config
[mdref/mdref-http] / http / Header / match.md
1 # bool http\Header::match(string $value[, int $flags = http\Header::MATCH_LOOSE])
2
3 Match the HTTP header's value against provided $value according to $flags.
4
5 ## Params:
6
7 * string $value
8 The comparison value.
9 * Optional int $flags
10 The modus operandi. See http\Header constants.
11
12 ## Returns:
13
14 * bool, whether $value matches the header value according to $flags.