Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

alternative for GZIPSTREAM in WP8

I'm working on a WP8 application that uses a Webservice that is shared with a WP6 application This webservice uses GZipStream to compress the communicated answers.

Now it seems that WP8 doesn't support this way of compression

Does someone know how i still can decompress and compress the returned stream?

I've been searching the Net for 2 days now and I've found no answer to this problem.

The only way I see now is to remove the compression on the 2 sides in production and that Is not my ittention

(sorry for my english)

like image 584
Poor Beggar Avatar asked Dec 04 '25 14:12

Poor Beggar


1 Answers

Use Morten's SharpGIS.GZipWebClient to make GZip WebRequests on WP7/WP8. Read more about it here.

WebRequest.RegisterPrefix("http://", SharpGIS.WebRequestCreator.GZip);
WebRequest.RegisterPrefix("https://", SharpGIS.WebRequestCreator.GZip);
like image 55
JustinAngel Avatar answered Dec 08 '25 09:12

JustinAngel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!