ProtocolOptionsSetCompression Method  | 
 
             Sets the compression to use. 
 Note that while this setting can be changed
             at any time, it will only apply to newly created connections.
 
    Namespace: 
   Cassandra
    Assembly:
   Cassandra (in Cassandra.dll) Version: 3.13.0
Syntaxpublic ProtocolOptions SetCompression(
	CompressionType compression
)
Parameters
- compression
 - Type: CassandraCompressionType
 the compression algorithm to use (or Compression.NONE to disable compression).
              
Return Value
Type: 
ProtocolOptionsthis 
ProtocolOptions object.
See Also