AlkantarClanX12
Current Path : /opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Response/ |
Current File : //opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Response/cdesc-Response.ri |
U:RDoc::NormalClass[iI" Response:EFI"Rack::Response;FI"Object;Fo:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"DRack::Response provides a convenient interface to create a Rack;FI"response.;Fo:RDoc::Markup::BlankLine o; ;[I"BIt allows setting of headers and cookies, and provides useful;FI".defaults (a OK response containing HTML).;F@o; ;[ I"FYou can use Response#write to iteratively generate your response,;FI"Dbut note that this is buffered by Rack::Response until you call;FI"G+finish+. +finish+ however can take a block inside which calls to;FI"4+write+ are synchronous with the Rack response.;F@o; ;[I"DYour application's +call+ should end returning Response#finish.;F: @fileI"lib/rack/response.rb;F;0[ [ I" body;FI"RW;F:publicF@ [ I"header;FI"R;F;F@ [ I"headers;F@';F@ [ I"length;FI"RW;F;F@ [ I"status;FI"RW;F;F@ [[I"CHUNKED;Fo;;[ ;0@ [I"TRANSFER_ENCODING;Fo;;[ ;0@ [[I"Helpers;Fo;;[ ;0@ [[I" class;F[[;[[I"new;F@ [:protected[ [:private[ [I" instance;F[[;[[I"[];F@ [I"[]=;F@ [I" close;F@ [I"delete_cookie;F@ [I" each;F@ [I"empty?;F@ [I"finish;F@ [I" redirect;F@ [I"set_cookie;F@ [I" to_a;F@ [I"to_ary;F@ [I" write;F@ [; [ [;[