PHPDaemon\Applications\CGIRequest::onWrite PHP Method

onWrite() public method

Called when the request aborted.
public onWrite ( ShellCommand $process ) : void
$process PHPDaemon\Core\ShellCommand
return void
    public function onWrite($process)
    {
        if ($this->attrs->stdin_done && $this->proc->writeState === false) {
            $this->proc->closeWrite();
        }
    }