WebsocketClient::reconnect PHP Méthode

reconnect() public méthode

public reconnect ( )
    public function reconnect()
    {
        sleep(10);
        $this->_connected = false;
        fclose($this->_Socket);
        $this->connect($this->_host, $this->_port, $this->_path, $this->_origin);
    }