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
157 def initialize(inflater)
158   @inflater = inflater
159 end

Public Instance methods

decode (chunk)
[show source]
    # File lib/httpx/plugins/compression.rb
161 def decode(chunk)
162   @inflater.inflate(chunk)
163 end