PHP Class Ergo\Http\HeaderField
Specifically, one of:
General Header {@link http://tools.ietf.org/html/rfc2616#section-4.5}
Request Header {@link http://tools.ietf.org/html/rfc2616#section-5.3}
Response Header {@link http://tools.ietf.org/html/rfc2616#section-6.2}
Entity Header {http://tools.ietf.org/html/rfc2616#section-7.1}
All follow the general format given in Section 3.1 of RFC 822.
{@link http://tools.ietf.org/html/rfc822#section-3.1}
Show file
Open project: 99designs/ergo
Class Usage Examples
Public Methods
Method Details
__construct()
public method
__toString()
public method
The full header string, e.g. 'Example-Header: Some Value'
fromString()
public static method
Creates a header from a string representing a single header.
The case-normalized name of the header.