Closed engenb closed 7 years ago
doing this would be much easier AFTER #35 is completed
after closing this, I realized I only configured HttpClient to notify the server it supported gzip and decompress the response. now adding ability to gzip the request
gzip is a defacto standard for compressing transport data between clients and servers. textual information like json can be compressed to ~20% its original size with minimal cpu overhead.
can probably add something to
IConfigureRemote
like.UseGzip()
that will add an additionalDelegatingHandler
to theHttpClient
request pipeline with something like this: