101b0dc29d322edb16683e03990f408970745c1e
[mdref/mdref] / http / Header.md
1 # class http\Header extends http\Object implements Serializable
2
3 The http\Header class provides methods to manipulate, match, negotiate and serialize HTTP headers.
4
5 ## Constants:
6
7 * ```MATCH_LOOSE```
8 None of the following match constraints applies.
9 * ```MATCH_CASE```
10 Perform case sensitive matching.
11 * ```MATCH_WORD```
12 Match only on word boundaries (according by CTYPE alpha-numeric).
13 * ```MATCH_FULL```
14 Match the complete string.
15 * ```MATCH_STRICT```
16 Case sensitively match the full string (same as ```MATCH_CASE|MATCH_FULL```).
17
18 ## Properties:
19
20 * ```public $name = NULL```
21 The name of the HTTP header.
22 * ```public $value = NULL```
23 The value of the HTTP header.