Protocol::WebSocketSourceProtocolWebSocketExtensionCompressionDeflate

class Deflate

Definitions

def self.client(parent, client_max_window_bits: 15, client_no_context_takeover: false, **options)

Client writing to server.

Implementation

def self.client(parent, client_max_window_bits: 15, client_no_context_takeover: false, **options)
	self.new(parent,
		window_bits: client_max_window_bits,
		context_takeover: !client_no_context_takeover,
		**options
	)
end

def self.server(parent, server_max_window_bits: 15, server_no_context_takeover: false, **options)

Server writing to client.

Implementation

def self.server(parent, server_max_window_bits: 15, server_no_context_takeover: false, **options)
	self.new(parent,
		window_bits: server_max_window_bits,
		context_takeover: !server_no_context_takeover,
		**options
	)
end