PHPDaemon\WebSocket\Route::onWakeup PHP Méthode

onWakeup() public méthode

Called when the request wakes up
public onWakeup ( ) : void
Résultat void
    public function onWakeup()
    {
        $this->running = true;
        Daemon::$context = $this;
        $_SESSION =& $this->attrs->session;
        $_GET =& $this->attrs->get;
        $_POST = [];
        $_COOKIE =& $this->attrs->cookie;
        Daemon::$process->setState(Daemon::WSTATE_BUSY);
    }