PHPDaemon\Clients\WebSocket\Example::onReady PHP Method

onReady() public method

Called when the worker is ready to go.
public onReady ( ) : void
return void
    public function onReady()
    {
        if ($this->wsclient) {
            $this->wsclient->onReady();
            $this->connect();
        }
    }