PHP Class Protocol\FCGI\Record\UnknownType
The set of management record types is likely to grow in future versions of this protocol.
To provide for this evolution, the protocol includes the FCGI_UNKNOWN_TYPE management record.
When an application receives a management record whose type T it does not understand, the application responds
with {FCGI_UNKNOWN_TYPE, 0, {T}}.
Show file
Open project: lisachenko/protocol-fcgi
Class Usage Examples
Protected Properties
Public Methods
Protected Methods
Method Details
__construct()
public method
getUnrecognizedType()
public method
Returns the unrecognized type
packPayload()
protected method
Implementation of packing the payload
unpackPayload()
public static method
Method to unpack the payload for the record
public static unpackPayload ( Record $self, string $data ) : Record |
$self |
Protocol\FCGI\Record |
Instance of current frame |
$data |
string |
Binary data |
return |
Protocol\FCGI\Record |
|
Property Details
$reserved1 protected property
Reserved data, 7 bytes maximum
protected string $reserved1 |
return |
string |
|
$type1 protected property
Type of the unrecognized management record.
protected int $type1 |
return |
integer |
|