Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium163.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : infihsqw ( 644)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Deflater/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //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

ZeroDay Forums Mini