Property | Type | Description | |
---|---|---|---|
$requestId | integer | Identifies the FastCGI request to which the record belongs. | |
$reserved | integer | Reserved byte for future proposes | |
$type | integer | Identifies the FastCGI record type, i.e. the general function that the record performs. | |
$version | integer | Identifies the FastCGI protocol version. |
Method | Description | |
---|---|---|
__toString ( ) : string | Returns the binary message representation of record | |
getContentData ( ) : string | Returns the context data from the record | |
getContentLength ( ) : integer | Returns the size of content length | |
getPaddingLength ( ) : integer | Returns the size of padding length | |
getRequestId ( ) : integer | ||
getType ( ) : integer | ||
getVersion ( ) : integer | Returns the version of record | |
setContentData ( $data ) | Sets the content data and adjusts the length fields | |
setRequestId ( integer $requestId ) : |
||
unpack ( string $data ) : static | Unpacks the message from the binary data buffer |
Method | Description | |
---|---|---|
packPayload ( ) : string | Implementation of packing the payload | |
unpackPayload ( |
Method to unpack the payload for the record. |
final public __toString ( ) : string | ||
return | string |
public getContentData ( ) : string | ||
return | string |
final public getContentLength ( ) : integer | ||
return | integer |
final public getPaddingLength ( ) : integer | ||
return | integer |
public getVersion ( ) : integer | ||
return | integer |
protected packPayload ( ) : string | ||
return | string |
public setContentData ( $data ) | ||
$data |
public setRequestId ( integer $requestId ) : |
||
$requestId | integer | |
return |
protected static unpackPayload ( |
||
$self | Instance of current frame | |
$data | string | Binary data |
protected int $requestId | ||
return | integer |
protected int $reserved | ||
return | integer |
protected int $type | ||
return | integer |
protected int $version | ||
return | integer |