Свойство | Type | Description | |
---|---|---|---|
$allowedMethods | |||
$bytesSent | |||
$cacheable | |||
$callbackParamEnabled | |||
$errors | |||
$frames | |||
$gcEnabled | |||
$heartbeatOnFinish | |||
$heartbeatTimer | |||
$opts | |||
$path | |||
$poll | |||
$pollMode | |||
$serverId | |||
$sessId | |||
$stage | |||
$stopped |
Méthode | Description | |
---|---|---|
afterHeaders ( ) : void | afterHeaders | |
gcCheck ( ) : void | gcCheck | |
init ( ) : void | Constructor | |
internalServerError ( ) : void | internalServerError | |
onFinish ( ) : void | On finish | |
out ( string $s, boolean $flush = true ) : boolean | Output some data | |
outputFrame ( string $s, boolean $flush = true ) : boolean | Output some data | |
run ( ) : void | Called when request iterated | |
s2c ( object $redis ) : void | s2c | |
stop ( ) : void | Stop | |
w8in ( ) : void | w8in |
Méthode | Description | |
---|---|---|
CORS ( ) : void | CORS | |
acquire ( callable $cb ) : void | acquire | |
anotherConnectionStillOpen ( ) : void | anotherConnectionStillOpen | |
contentType ( string $type ) : void | contentType | |
error ( integer $code ) : void | error | |
noncache ( ) : void | noncache | |
poll ( callable $cb = null ) : void | Poll | |
sendFrame ( string $frame ) : void | Send frame |
protected anotherConnectionStillOpen ( ) : void | ||
Résultat | void |
protected contentType ( string $type ) : void | ||
$type | string | Content-Type |
Résultat | void |
public internalServerError ( ) : void | ||
Résultat | void |