Returns a header value by name.
public get ( string $key, mixed $default = null, boolean $first = true ) : string | array | ||
$key | string | The header name |
$default | mixed | The default value |
$first | boolean | Whether to return the first value or all header values |
리턴 | string | array | The first header value if $first is true, an array of values otherwise |