Property | Type | Description | |
---|---|---|---|
$appStatus | integer | The appStatus component is an application-level status code. Each role documents its usage of appStatus. | |
$protocolStatus | integer | The possible protocolStatus values are: FCGI_REQUEST_COMPLETE: normal end of request. FCGI_CANT_MPX_CONN: rejecting a new request. This happens when a Web server sends concurrent requests over one connection to an application that is designed to process one request at a time per connection. FCGI_OVERLOADED: rejecting a new request. This happens when the application runs out of some resource, e.g. database connections. FCGI_UNKNOWN_ROLE: rejecting a new request. This happens when the Web server has specified a role that is unknown to the application. | |
$reserved1 | string | Reserved data, 3 bytes maximum |
Method | Description | |
---|---|---|
__construct ( $protocolStatus = FCGI::REQUEST_COMPLETE, $appStatus, $reserved = '' ) | ||
getAppStatus ( ) : integer | Returns app status | |
getProtocolStatus ( ) : integer | Returns the protocol status |
Method | Description | |
---|---|---|
packPayload ( ) : string | Implementation of packing the payload | |
unpackPayload ( |
Method to unpack the payload for the record |
public __construct ( $protocolStatus = FCGI::REQUEST_COMPLETE, $appStatus, $reserved = '' ) |
public getAppStatus ( ) : integer | ||
return | integer |
public getProtocolStatus ( ) : integer | ||
return | integer |
protected packPayload ( ) : string | ||
return | string |
protected static unpackPayload ( |
||
$self | Instance of current frame | |
$data | string | Binary data |
return |
protected int $appStatus | ||
return | integer |
protected int $protocolStatus | ||
return | integer |
protected string $reserved1 | ||
return | string |