class PermessageDeflate::Session
def initialize(options)
def initialize(options) @level = options.fetch(:level, Zlib::DEFAULT_COMPRESSION) @mem_level = options.fetch(:mem_level, Zlib::DEF_MEM_LEVEL) @strategy = options.fetch(:strategy, Zlib::DEFAULT_STRATEGY) @accept_no_context_takeover = options.fetch(:no_context_takeover, false) @accept_max_window_bits = options.fetch(:max_window_bits, nil) @request_no_context_takeover = options.fetch(:request_no_context_takeover, false) @request_max_window_bits = options.fetch(:request_max_window_bits, nil) @deflate = @inflate = nil end