compressionLevel (property)
The default compression level to use.
Syntax
@property (nonatomic,readwrite,assign,getter=compressionLevel,setter=setCompressionLevel:) int compressionLevel; - (int)compressionLevel; - (void)setCompressionLevel:(int)newCompressionLevel;
public var compressionLevel: Int32 { get {...}
set {...} }
Default Value
6
Remarks
Assign this property with the compression level (1 to 9) to apply for gzipped responses. 1 stands for the lightest but fastest compression, and 9 for the best but the slowest.