class HTTPX::Plugins::Compression::Decoder

  1. lib/httpx/plugins/compression.rb
Superclass: Object

Methods

Public Class

  1. new

Public Instance

  1. decode

Public Class methods

new (inflater)
[show source]
    # File lib/httpx/plugins/compression.rb
153 def initialize(inflater)
154   @inflater = inflater
155 end

Public Instance methods

decode (chunk)
[show source]
    # File lib/httpx/plugins/compression.rb
157 def decode(chunk)
158   @inflater.inflate(chunk)
159 end