Server IP : 162.213.251.212 / Your IP : 18.188.23.45 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/cpanel/ea-ruby27/root/usr/share/gems/doc/rack-2.2.10/ri/Rack/Deflater/ |
Upload File : |
U:RDoc::AnyMethod[iI"new:ETI"Rack::Deflater::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"0Creates Rack::Deflater middleware. Options:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I" :if ;T; [o; ; [ I"Ma lambda enabling / disabling deflation based on returned boolean value ;TI"y(e.g <tt>use Rack::Deflater, :if => lambda { |*, body| sum=0; body.each { |i| sum += i.length }; sum > 512 }</tt>). ;TI"wHowever, be aware that calling `body.each` inside the block will break cases where `body.each` is not idempotent, ;TI")such as when it is an +IO+ instance.;To;;[I":include ;T; [o; ; [I"ea list of content types that should be compressed. By default, all content types are compressed.;To;;[I":sync ;T; [o; ; [I"ldetermines if the stream is going to be flushed after every chunk. Flushing after every chunk reduces ;TI"^latency for time-sensitive streaming applications, but hurts compression and throughput. ;TI"Defaults to +true+.;T: @fileI"lib/rack/deflater.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(app, options = {});T@+FI" Deflater;TcRDoc::NormalClass00