Workerman\Connection\TcpConnection::resumeRecv PHP Method

resumeRecv() public method

Resumes reading after a call to pauseRecv.
public resumeRecv ( ) : void
return void
    public function resumeRecv()
    {
        if ($this->_isPaused === true) {
            Worker::$globalEvent->add($this->_socket, EventInterface::EV_READ, array($this, 'baseRead'));
            $this->_isPaused = false;
            $this->baseRead($this->_socket, false);
        }
    }