Server IP : 66.29.132.122 / Your IP : 3.133.134.123 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Response/ |
Upload File : |
--- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: body rw: RW - !ruby/object:RI::Attribute comment: name: header rw: R - !ruby/object:RI::Attribute comment: name: length rw: RW - !ruby/object:RI::Attribute comment: name: status rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Rack::Response provides a convenient interface to create a Rack response. - !ruby/struct:SM::Flow::P body: It allows setting of headers and cookies, and provides useful defaults (a OK response containing HTML). - !ruby/struct:SM::Flow::P body: You can use Response#write to iteratively generate your response, but note that this is buffered by Rack::Response until you call <tt>finish</tt>. <tt>finish</tt> however can take a block inside which calls to <tt>write</tt> are synchronous with the Rack response. - !ruby/struct:SM::Flow::P body: Your application's <tt>call</tt> should end returning Response#finish. constants: - !ruby/object:RI::Constant comment: name: CHUNKED value: "'chunked'.freeze" - !ruby/object:RI::Constant comment: name: TRANSFER_ENCODING value: "'Transfer-Encoding'.freeze" full_name: Rack::Response includes: - !ruby/object:RI::IncludedModule name: Helpers instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: "[]=" - !ruby/object:RI::MethodSummary name: close - !ruby/object:RI::MethodSummary name: delete_cookie - !ruby/object:RI::MethodSummary name: each - !ruby/object:RI::MethodSummary name: empty? - !ruby/object:RI::MethodSummary name: finish - !ruby/object:RI::MethodSummary name: redirect - !ruby/object:RI::MethodSummary name: set_cookie - !ruby/object:RI::MethodSummary name: to_a - !ruby/object:RI::MethodSummary name: to_ary - !ruby/object:RI::MethodSummary name: write name: Response superclass: Object