Module: Cybertrain::GzipFFI
- Defined in:
- cybertrain/http/gzip_ffi.rb
Overview
The gzip inflater Request#decoded_body uses: require "cybertrain"
installs it. A program that loads only the HTTP layer requires
cybertrain/http/gzip_ffi and calls GzipFFI.install! itself.
Class Method Summary collapse
-
.install! ⇒ nil
Makes Request#decoded_body inflate through this module.
Class Method Details
.install! ⇒ nil
Makes Request#decoded_body inflate through this module.
252 253 254 255 |
# File 'cybertrain/http/gzip_ffi.rb', line 252 def self.install! Request.inflater = inflater nil end |