PHP 8.2.31
Preview: cdesc-Response.yaml Size: 1.93 KB
//proc/thread-self/root/opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Response/cdesc-Response.yaml

--- !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

Directory Contents

Dirs: 1 × Files: 14

Name Size Perms Modified Actions
Helpers DIR
- drwxr-xr-x 2024-03-03 22:50:09
Edit Download
180 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download
171 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download
1.93 KB lrw-r--r-- 2019-12-05 22:14:01
Edit Download
172 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download
201 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download
179 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download
174 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download
265 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download
248 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download
196 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download
192 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download
232 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download
236 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download
340 B lrw-r--r-- 2019-12-05 22:14:01
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).