PHPDaemon\Applications\CGIRequest::onAbort PHP Method

onAbort() public method

Called when the request aborted.
public onAbort ( ) : void
return void
    public function onAbort()
    {
        if ($this->terminateOnAbort && $this->stream) {
            $this->stream->close();
        }
    }