public function start() { if (is_array($this->settings) && !empty($this->settings)) { $this->server->set($this->settings); } $this->wsHandle($this->server); $this->httpHandle($this->server); $this->server->start(); }