Server : LiteSpeed System : Linux premium163.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64 User : infihsqw ( 644) PHP Version : 8.1.29 Disable Function : NONE Directory : /opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Response/ |
--- !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