Property | Type | Description | |
---|---|---|---|
$timeout |
Property | 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 |
Method | 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 | |
return | void |
public checkChunkedEncCap ( ) : boolean | ||
return | boolean |
public checkSendfileCap ( ) : boolean | ||
return | boolean |
protected $highMark |
protected $lowMark |