public function finish()
    {
        if ($this->finished) {
            return;
        }
        $this->finished = true;
        $this->eventLoop->interrupt();
        $this->onFinish();
        if (!$this->writing) {
            $this->close();
        }
    }
public function finish()
    {
        if ($this->finished) {
            return;
        }
        $this->finished = true;
        $this->eventLoop->interrupt();
        $this->onFinish();
        if (!$this->writing) {
            $this->close();
        }
    }
public function finish ( ) { if ( $ this -> finished ) { return ; } $ this -> finished = true ; $ this -> eventLoop -> interrupt ( ) ; $ this -> onFinish ( ) ; if ( ! $ this -> writing ) { $ this -> close ( ) ; } }
Finish the session. You should not worry about buffers, they are going to be flushed properly
@return void
Finish the session . You should not worry about buffers they are going to be flushed properly