Свойство | Тип | Описание | |
---|---|---|---|
$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. |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
packPayload ( ) : string | Implementation of packing the payload | |
unpackPayload ( |
Method to unpack the payload for the record. |
final public __toString ( ) : string | ||
Результат | string |
public getContentData ( ) : string | ||
Результат | string |
final public getContentLength ( ) : integer | ||
Результат | integer |
final public getPaddingLength ( ) : integer | ||
Результат | integer |
public getVersion ( ) : integer | ||
Результат | integer |
protected packPayload ( ) : string | ||
Результат | string |
public setContentData ( $data ) | ||
$data |
public setRequestId ( integer $requestId ) : |
||
$requestId | integer | |
Результат |
protected static unpackPayload ( |
||
$self | Instance of current frame | |
$data | string | Binary data |
protected int $requestId | ||
Результат | integer |
protected int $reserved | ||
Результат | integer |
protected int $type | ||
Результат | integer |
protected int $version | ||
Результат | integer |