private function onEnd($dataResult)
    {
        if ($dataResult === null) return $this->emit('end');

        if ($this->isJson()) $this->parseJson($dataResult);
        else $this->parseStr($dataResult);
    }