PHP Class PHPDaemon\Applications\CGIRequest

Author: Vasily Zorin ([email protected])
Inheritance: extends PHPDaemon\HTTPRequest\Generic
Show file Open project: kakserpom/phpdaemon

Public Properties

Property Type Description
$proc PHPDaemon\Core\ShellCommand
$terminateOnAbort boolean

Public Methods

Method Description
init ( ) : void Constructor.
onAbort ( ) : void Called when the request aborted.
onReadData ( object $process, string $data ) : void Called when new data received from process.
onWrite ( ShellCommand $process ) : void Called when the request aborted.
run ( ) : void Called when request iterated.
stdin ( string $c ) : void Called when new piece of request's body is received.

Method Details

init() public method

Constructor.
public init ( ) : void
return void

onAbort() public method

Called when the request aborted.
public onAbort ( ) : void
return void

onReadData() public method

Called when new data received from process.
public onReadData ( object $process, string $data ) : void
$process object Process pointer.
$data string Data.
return void

onWrite() public method

Called when the request aborted.
public onWrite ( ShellCommand $process ) : void
$process PHPDaemon\Core\ShellCommand
return void

run() public method

Called when request iterated.
public run ( ) : void
return void

stdin() public method

Called when new piece of request's body is received.
public stdin ( string $c ) : void
$c string Piece of request's body.
return void

Property Details

$proc public property

public ShellCommand,PHPDaemon\Core $proc
return PHPDaemon\Core\ShellCommand

$terminateOnAbort public property

public bool $terminateOnAbort
return boolean