Свойство | Type | Description | |
---|---|---|---|
$timeout |
Свойство | Type | Description | |
---|---|---|---|
$content | |||
$header | |||
$highMark | initial value of the maximum amout of bytes in buffer | ||
$lowMark | initial value of the minimal amout of bytes in buffer | ||
$requestTypes | |||
$requests | |||
$roles |
Méthode | Description | |
---|---|---|
badRequest ( object $req ) : void | Send Bad request | |
checkChunkedEncCap ( ) : boolean | Is this upstream suitable for chunked encoding? | |
checkSendfileCap ( ) : boolean | Is this upstream suitable for sendfile()? | |
endRequest ( object $req, string $appStatus, string $protoStatus ) : void | Handles the output from downstream requests | |
freeRequest ( object $req ) | Frees request | |
getKeepaliveTimeout ( ) : integer | ||
onRead ( ) : void | Called when new data received | |
requestOut ( object $req, string $out ) : boolean | Handles the output from downstream requests | |
sendChunk ( object $req, string $chunk ) : boolean | Sends a chunk |
public badRequest ( object $req ) : void | ||
$req | object | |
Résultat | void |
public checkChunkedEncCap ( ) : boolean | ||
Résultat | boolean |
public checkSendfileCap ( ) : boolean | ||
Résultat | boolean |
protected $highMark |
protected $lowMark |