Hola Sergio, is there a property I can set for websocket client and server that will compress the payload?
Thanks,
James
Thanks,
James
Extensions.Permessage_Deflate.Enabled := True
/sgcwebsockets/libraries/zlib
{$IFDEF UNIX}
const
//The extensions will be resolved by IdGlobal.HackLoad
//This is a little messy because symbolic links to libraries may not always be the same
//in various Unix types. Even then, there could possibly be differences.
libzlib = 'libz';
// TODO: setup this array more like the SSLDLLVers arrays in the IdSSLOpenSSLHeaders unit...
libvers : array [0..3] of string = ('.1','','.3','.2');
{$ENDIF}