Class: Rack::Events::BufferedResponse
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Response::Raw
|
|
Instance Chain:
self,
Response::Raw ,
Response::Helpers
|
|
Inherits: |
Rack::Response::Raw
|
Defined in: | lib/rack/events.rb |
Class Method Summary
Instance Attribute Summary
- #body readonly
Response::Raw
- Inherited
Response::Helpers
- Included
#accepted?, #bad_request?, #cache_control, #cache_control=, #client_error?, | |
#content_type | Get the content type of the response. |
#content_type= | Set the content type of the response. |
#created?, #etag, #etag=, #forbidden?, #informational?, #invalid?, #location, #location=, #method_not_allowed?, #moved_permanently?, #no_content?, #not_acceptable?, #not_found?, #ok?, #precondition_failed?, #redirect?, #redirection?, #request_timeout?, #server_error?, #set_cookie_header, #set_cookie_header=, #successful?, #unauthorized?, #unprocessable? |
Instance Method Summary
Response::Raw
- Inherited
Response::Helpers
- Included
#add_header | Add a header that may have multiple values. |
#cache! | Specify that the content should be cached. |
#content_length, #delete_cookie, | |
#do_not_cache! | Specifies that the content shouldn’t be cached. |
#include?, #media_type, #media_type_params, #set_cookie |
Constructor Details
.new(status, headers, body) ⇒ BufferedResponse
Instance Attribute Details
#body (readonly)
[ GitHub ]# File 'lib/rack/events.rb', line 96
attr_reader :body
Instance Method Details
#to_a
[ GitHub ]# File 'lib/rack/events.rb', line 103
def to_a; [status, headers, body]; end