Ejemplo n.º 1
0
        public async Task GetUri()
        {
            CallerDepartment = new CallerDepartment();

            await CallerDepartment.SendRequest(stringURL);

            CompressionDepartment = new Client81.CompressionDepartment();
            CompressionDepartment.DecompressBytes(CallerDepartment.ReceivedData);

            DecompressedData = CompressionDepartment.DataDecompressed;
            //Gets page from server here and store to data
            //data = CallerDepartment.SendRequest(url);
        }
        public async Task GetUri()
        {
            CallerDepartment = new CallerDepartment();
            
            await CallerDepartment.SendRequest(stringURL);

            CompressionDepartment = new Client81.CompressionDepartment();
            CompressionDepartment.DecompressBytes(CallerDepartment.ReceivedData);

            DecompressedData = CompressionDepartment.DataDecompressed;
            //Gets page from server here and store to data
            //data = CallerDepartment.SendRequest(url);
            
        }