Skip to content

Instantly share code, notes, and snippets.


Morten Nielsen dotMorten

View GitHub Profile
dotMorten / HttpGZipClientHandler.cs
Last active May 8, 2018
GZip support for PCL HttpClient. Create HttpClient using: HttpClient client = new HttpClient(new HttpGZipClientHandler());
View HttpGZipClientHandler.cs
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
namespace SharpGIS.Http
public class HttpGZipClientHandler : HttpClientHandler