\Zend\Http\Header\Exception\InvalidArgumentException
see \Zend\Http\Header\http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.45

 Methods

Factory to generate a header object from a string

fromString(string $headerLine) : \Zend\Http\Header\self

Parameters

$headerLine

string

Exceptions

\Zend\Http\Header\Exception\InvalidArgumentException If the header does not match RFC 2616 definition.

Returns

\Zend\Http\Header\self

Retrieve header name

getFieldName() : string

Returns

string

Retrieve header value

getFieldValue() : string

Returns

string

Cast to string

toString() : string

Returns in form of "NAME: VALUE"

Returns

string