X7ROOT File Manager
Current Path:
/opt/alt/ruby26/lib64/ruby/gems/2.6.0/doc/rack-3.0.8/ri/Rack/Response
opt
/
alt
/
ruby26
/
lib64
/
ruby
/
gems
/
2.6.0
/
doc
/
rack-3.0.8
/
ri
/
Rack
/
Response
/
📄
%5b%5d%3d-i.ri
(287 B)
📄
%5b%5d-c.ri
(257 B)
📄
%5b%5d-i.ri
(278 B)
ðŸ“
..
ðŸ“
Helpers
ðŸ“
Raw
📄
body-i.ri
(234 B)
📄
cdesc-Response.ri
(1.69 KB)
📄
chunked%3f-i.ri
(247 B)
📄
close-i.ri
(241 B)
📄
delete_header-i.ri
(260 B)
📄
each-i.ri
(248 B)
📄
empty%3f-i.ri
(243 B)
📄
finish-i.ri
(538 B)
📄
get_header-i.ri
(280 B)
📄
has_header%3f-i.ri
(256 B)
📄
header-i.ri
(313 B)
📄
headers-i.ri
(239 B)
📄
length-i.ri
(238 B)
📄
new-c.ri
(1.31 KB)
📄
no_entity_body%3f-i.ri
(261 B)
📄
redirect-i.ri
(267 B)
📄
set_header-i.ri
(288 B)
📄
status-i.ri
(238 B)
📄
to_a-i.ri
(281 B)
📄
write-i.ri
(415 B)
Editing: cdesc-Response.ri
U:RDoc::NormalClass[iI" Response:ETI"Rack::Response;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"ERack::Response provides a convenient interface to create a Rack ;TI"response.;To:RDoc::Markup::BlankLine o; ;[I"CIt allows setting of headers and cookies, and provides useful ;TI";defaults (an OK response with empty headers and body).;T@o; ;[ I"GYou can use Response#write to iteratively generate your response, ;TI"Ebut note that this is buffered by Rack::Response until you call ;TI"H+finish+. +finish+ however can take a block inside which calls to ;TI"4+write+ are synchronous with the Rack response.;T@o; ;[I"DYour application's +call+ should end returning Response#finish.;T: @fileI"lib/rack/response.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ I" body;TI"RW;T:publicFI"lib/rack/response.rb;T[ I"headers;TI"R;T; F@%[ I"length;T@$; F@%[ I"status;T@$; F@%[U:RDoc::Constant[i I"CHUNKED;TI"Rack::Response::CHUNKED;T; 0o;;[ ;@ ;0@ @cRDoc::NormalClass0U;[i I"STATUS_WITH_NO_ENTITY_BODY;TI"/Rack::Response::STATUS_WITH_NO_ENTITY_BODY;T; 0o;;[ ;@ ;0@ @@40[[I"Helpers;To;;[ ;@ ;0@%[[I" class;T[[; [[I"[];T@%[I"new;T@%[:protected[ [:private[ [I" instance;T[[; [[I"[];T@%[I"[]=;T@%[I" chunked?;T@%[I" close;T@%[I"delete_header;T@%[I" each;T@%[I"empty?;T@%[I"finish;T@%[I"get_header;T@%[I"has_header?;T@%[I"header;T@%[I"no_entity_body?;T@%[I" redirect;T@%[I"set_header;T@%[I" to_a;T@%[I" write;T@%[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@ I" Rack;TcRDoc::NormalModule
Upload File
Create Folder