(http client + server + ws) Add support for compressing http client requests with gzip. --compress_request argument is used in ws to enable this. The Content-Encoding is set to gzip, and decoded on the server side if present.

This commit is contained in:
Benjamin Sergeant
2020-10-09 17:51:56 -07:00
parent fa0408e70b
commit 67cb48537a
7 changed files with 71 additions and 32 deletions

View File

@ -84,6 +84,7 @@ namespace ix
int maxRedirects = 5;
bool verbose = false;
bool compress = true;
bool compressRequest = false;
Logger logger;
OnProgressCallback onProgressCallback;
};