compress method
Sets the compress flag.
@param {Boolean} if true
, compresses the sending data
@return {Socket} self
@api public
Implementation
Socket compress(compress) {
flags = flags ??= {};
flags!['compress'] = compress;
return this;
}
Sets the compress flag.
@param {Boolean} if true
, compresses the sending data
@return {Socket} self
@api public
Socket compress(compress) {
flags = flags ??= {};
flags!['compress'] = compress;
return this;
}