X7ROOT File Manager
Current Path:
/opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Deflater
opt
/
alt
/
ruby18
/
lib64
/
ruby
/
gems
/
1.8
/
doc
/
rack-1.6.1
/
ri
/
Rack
/
Deflater
/
ðŸ“
..
ðŸ“
DeflateStream
ðŸ“
GzipStream
📄
call-i.yaml
(173 B)
📄
cdesc-Deflater.yaml
(836 B)
📄
new-c.yaml
(814 B)
Editing: 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
Upload File
Create Folder