PHP Класс Protocol\FCGI\Record\BeginRequest

Наследование: extends Protocol\FCGI\Record
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$flags integer flags & FCGI_KEEP_CONN: If zero, the application closes the connection after responding to this request. If not zero, the application does not close the connection after responding to this request; the Web server retains responsibility for the connection.
$reserved1 string Reserved data, 5 bytes maximum
$role integer The currently-defined roles are: FCGI_RESPONDER FCGI_AUTHORIZER FCGI_FILTER

Открытые методы

Метод Описание
__construct ( $role = FCGI::UNKNOWN_ROLE, $flags, $reserved = '' )
getFlags ( ) : integer Returns the flags
getRole ( ) : integer Returns the role

Защищенные методы

Метод Описание
packPayload ( ) : string Implementation of packing the payload
unpackPayload ( Record $self, string $data ) : Record Method to unpack the payload for the record

Описание методов

__construct() публичный Метод

public __construct ( $role = FCGI::UNKNOWN_ROLE, $flags, $reserved = '' )

getFlags() публичный Метод

The flags component contains a bit that controls connection shutdown. flags & FCGI_KEEP_CONN: If zero, the application closes the connection after responding to this request. If not zero, the application does not close the connection after responding to this request; the Web server retains responsibility for the connection.
public getFlags ( ) : integer
Результат integer

getRole() публичный Метод

The role component sets the role the Web server expects the application to play. The currently-defined roles are: FCGI_RESPONDER FCGI_AUTHORIZER FCGI_FILTER
public getRole ( ) : integer
Результат integer

packPayload() защищенный Метод

Implementation of packing the payload
protected packPayload ( ) : string
Результат string

unpackPayload() защищенный статический Метод

Method to unpack the payload for the record
protected static unpackPayload ( Record $self, string $data ) : Record
$self Protocol\FCGI\Record Instance of current frame
$data string Binary data
Результат Protocol\FCGI\Record

Описание свойств

$flags защищенное свойство

flags & FCGI_KEEP_CONN: If zero, the application closes the connection after responding to this request. If not zero, the application does not close the connection after responding to this request; the Web server retains responsibility for the connection.
protected int $flags
Результат integer

$reserved1 защищенное свойство

Reserved data, 5 bytes maximum
protected string $reserved1
Результат string

$role защищенное свойство

The currently-defined roles are: FCGI_RESPONDER FCGI_AUTHORIZER FCGI_FILTER
protected int $role
Результат integer