Exemplo n.º 1
0
        private void readApps()
        {
            //QRSWebClient qrsClient = new QRSWebClient(txtServer.Text + ":4242");
            QRSNTLMWebClient qrsClient = new QRSNTLMWebClient(txtServer.Text);
            string           result    = qrsClient.Get("/qrs/app");

            List <app> apps = new List <app>();

            apps = JsonConvert.DeserializeObject <List <app> >(result);

            cmbApps.DataSource = apps;
        }
Exemplo n.º 2
0
        private void readStreams()
        {
            //QRSWebClient qrsClient = new QRSWebClient(txtServer.Text + ":4242");
            QRSNTLMWebClient qrsClient = new QRSNTLMWebClient(txtServer.Text);
            string           result    = qrsClient.Get("/qrs/stream");

            List <stream> streams = new List <stream>();

            streams = JsonConvert.DeserializeObject <List <stream> >(result);

            cmbStreams.DataSource = streams;
        }
 public QlikSenseJSONHelper(string url)
 {
     this.url = url;
     //qrsClient = new QRSWebClient(url+":4242");
     qrsClient = new QRSNTLMWebClient(url);
 }