mdref.json config
[mdref/mdref-http] / http / Header / __construct.md
1 # void http\Header::__construct([string $name[, mixed $value]])
2
3 Create an http\Header instance for use of simple matching or negotiation. If the value of the header is an array it may be compounded to a single comma separated string.
4
5 ## Params:
6
7 * Optional string $name
8 The HTTP header name.
9 * Optional mixed $value
10 The value of the header.
11
12 # Throws:
13
14 * http\Exception