src/SSE.php
public function init()
    {
        if ($this->runEvent) {
            $chain = new jsChain();
            $this->app->html->js(true, $chain->atkServerEvent(
                ['uri' => $this->getUrl()]
            ));
            $this->isRunning = true;
        }

        $this->_initialized = true;
    }
public function init()
    {
        if ($this->runEvent) {
            $chain = new jsChain();
            $this->app->html->js(true, $chain->atkServerEvent(
                ['uri' => $this->getUrl()]
            ));
            $this->isRunning = true;
        }

        $this->_initialized = true;
    }
public function init ( ) { if ( $ this -> runEvent ) { $ chain = new jsChain ( ) ; $ this -> app -> html -> js ( true , $ chain -> atkServerEvent ( [ 'uri' => $ this -> getUrl ( ) ] ) ) ; $ this -> isRunning = true ; } $ this -> _initialized = true ; }
Allow chunked encoding
Allow chunked encoding