I now use
unit rtcZLib;
like
TRtcDataServer(Sender).Response['Content-Encoding'] := 'deflate';
WriteEx(ZCompress_Ex(RtcStringToBytes(AValue), zcDefault)); // using default compression strength
This works on IOS, but not on Android
http://zoompf.com/blog/2012/02/lose-the-wait-http-compressionIt seems to be better to use GZip
How can I best add GZip compression?
Do you have any samples on that?
Jørgen