PHP 8.2.31
Preview: new-c.yaml Size: 814 B
//proc/thread-self/root/opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Deflater/new-c.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates Rack::Deflater middleware.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: app
    body: rack app instance
  - !ruby/struct:SM::Flow::LI 
    label: options
    body: hash of deflater options, i.e. 'if' - a lambda enabling / disabling deflation based on returned boolean value
  - !ruby/struct:SM::Flow::VERB 
    body: "       e.g use Rack::Deflater, :if => lambda { |env, status, headers, body| body.length > 512 }\n"
  - !ruby/struct:SM::Flow::P 
    body: "'include' - a list of content types that should be compressed"
  type: :LABELED
full_name: Rack::Deflater::new
is_singleton: true
name: new
params: (app, options = {})
visibility: public

Directory Contents

Dirs: 2 × Files: 3

Name Size Perms Modified Actions
- drwxr-xr-x 2024-03-03 22:50:09
Edit Download
- drwxr-xr-x 2024-03-03 22:50:09
Edit Download
173 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download
836 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download
814 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).