Class: Cybertrain::GzipDecoder

Inherits:
Object
  • Object
show all
Defined in:
cybertrain/http/gzip_decoder.rb

Overview

The gzip support the HTTP client calls (HttpClient.gzip_decoder); this base is the one without gzip. Only #gzip_ready? is for applications; the rest is the client’s.

Instance Method Summary collapse

Instance Method Details

#gzip_ready? ⇒ Boolean

Returns true once require "cybertrain/http/gzip_ffi" has installed the zlib decoder.

Returns:

  • (Boolean) —

    true once require "cybertrain/http/gzip_ffi" has installed the zlib decoder



40
41
42
# File 'cybertrain/http/gzip_decoder.rb', line 40

def gzip_ready?
  false
end