Class: Net::SSH::Transport::Compress::ZLibCompressor

Class | Net::SSH::Transport::Compress::ZLibCompressor
In: | lib/net/ssh/transport/compress/zlib-compressor.rb
Parent: | Compressor

The "zlib" compression algorithm.

### Methods

compress configure new

### Public Class methods

new()

Creates a new ZLibCompressor instance using the default configuration options.

### Public Instance methods

compress( text )

Deflates the text using the Zlib deflate interface.

configure( options )

Reconfigures this instance with the given Hash of options. The only supported option is `:level`, which must be one of the Zlib constants.

[Validate]