Свойство | 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. |
Méthode | 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 |
Méthode | Description | |
---|---|---|
packPayload ( ) : string | Implementation of packing the payload | |
unpackPayload ( |
Method to unpack the payload for the record. |
final public __toString ( ) : string | ||
Résultat | string |
public getContentData ( ) : string | ||
Résultat | string |
final public getContentLength ( ) : integer | ||
Résultat | integer |
final public getPaddingLength ( ) : integer | ||
Résultat | integer |
public getVersion ( ) : integer | ||
Résultat | integer |
protected packPayload ( ) : string | ||
Résultat | string |
public setContentData ( $data ) | ||
$data |
public setRequestId ( integer $requestId ) : |
||
$requestId | integer | |
Résultat |
protected static unpackPayload ( |
||
$self | Instance of current frame | |
$data | string | Binary data |
protected int $requestId | ||
Résultat | integer |
protected int $reserved | ||
Résultat | integer |
protected int $type | ||
Résultat | integer |
protected int $version | ||
Résultat | integer |