phasync\Util\FastCGI\Record final class

Documentation

Documentation missing - No docblock found for this class.

Inheritance

Implements: phasync\Internal\ObjectPoolInterface

Uses Traits: phasync\Internal\ObjectPoolTrait

Constants (21)

NameValue
FCGI_BEGIN_REQUEST 1
FCGI_ABORT_REQUEST 2
FCGI_END_REQUEST 3
FCGI_PARAMS 4
FCGI_STDIN 5
FCGI_STDOUT 6
FCGI_STDERR 7
FCGI_DATA 8
FCGI_GET_VALUES 9
FCGI_GET_VALUES_RESULT 10
FCGI_UNKNOWN_TYPE 11
FCGI_ROLE_RESPONDER 1
FCGI_ROLE_AUTHORIZER 2
FCGI_ROLE_FILTER 3
FCGI_PROT_STATUS_REQUEST_COMPLETE 0
FCGI_PROT_STATUS_CANT_MPX_CONN 1
FCGI_PROT_STATUS_OVERLOADED 2
FCGI_PROT_STATUS_UNKNOWN_ROLE 3
FCGI_KEEP_CONN 1
TYPES array ( 1 => 'FCGI_BEGIN_REQUEST', 2 => 'FCGI_ABORT_REQUEST', 3 => 'FCGI_END_REQUEST', 4 => 'FCGI_PARAMS', 5 => 'FCGI_STDIN', 6 => 'FCGI_STDOUT', 7 => 'FCGI_STDERR', 8 => 'FCGI_DATA', 9 => 'FCGI_GET_VALUES', 10 => 'FCGI_GET_VALUES_RESULT', 11 => 'FCGI_UNKNOWN_TYPE', )
PADDINGS array ( 0 => '', 1 => '' . "\0" . '', 2 => '' . "\0" . '' . "\0" . '', 3 => '' . "\0" . '' . "\0" . '' . "\0" . '', 4 => '' . "\0" . '' . "\0" . '' . "\0" . '' . "\0" . '', 5 => '' . "\0" . '' . "\0" . '' . "\0" . '' . "\0" . '' . "\0" . '', 6 => '' . "\0" . '' . "\0" . '' . "\0" . '' . "\0" . '' . "\0" . '' . "\0" . '', 7 => '' . "\0" . '' . "\0" . '' . "\0" . '' . "\0" . '' . "\0" . '' . "\0" . '' . "\0" . '', )

Properties (7)

public int $version
public int $type
public int $requestId
public string $content
private bool $pooled
private static array $pool
private static int $instanceCount

Methods (28)

Documentation missing

Parse a Record instance from a StringBuffer object.

Create a new instance of Record

Use {@see Record::create()} to create an instance of Record.

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Encode the content field from an associative array of key

Decode the content field to an associative array of values

Encode the record to a binary representation

Documentation missing

Documentation missing

Documentation missing

Source

src/Util/FastCGI/Record.php:9-341