Class: Rack::Events::EventedBodyProxy
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
BodyProxy
|
|
Instance Chain:
self,
BodyProxy
|
|
Inherits: |
Rack::BodyProxy
|
Defined in: | lib/rack/events.rb |
Class Method Summary
BodyProxy
- Inherited
.new | Set the response body to wrap, and the block to call when the response has been fully sent. |
Instance Attribute Summary
Instance Method Summary
BodyProxy
- Inherited
#close | If not already closed, close the wrapped body and then call the block the proxy was initialized with. |
#method_missing | Delegate missing methods to the wrapped body. |
#respond_to_missing? | Return whether the wrapped body responds to the method. |
Constructor Details
.new(body, request, response, handlers, &block) ⇒ EventedBodyProxy
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Rack::BodyProxy
Instance Attribute Details
#request (readonly)
[ GitHub ]# File 'lib/rack/events.rb', line 80
attr_reader :request, :response
#response (readonly)
[ GitHub ]# File 'lib/rack/events.rb', line 80
attr_reader :request, :response