WebsocketClient::reconnect PHP Method

reconnect() public method

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