REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.21 KB
Close
//proc/thread-self/root/opt/alt/ruby26/lib64/ruby/gems/2.6.0/doc/rack-3.0.8/ri/Rack/Deflater/new-c.ri
Text
Base64
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
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
GzipStream
DIR
-
drwxr-xr-x
2024-03-06 04:26:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
call-i.ri
242 B
lrw-r--r--
2024-02-12 21:11:34
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cdesc-Deflater.ri
1.22 KB
lrw-r--r--
2024-02-12 21:11:34
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
new-c.ri
1.21 KB
lrw-r--r--
2024-02-12 21:11:34
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
should_deflate%3f-i.ri
364 B
lrw-r--r--
2024-02-12 21:11:34
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).