class Rack::BodyProxy

Proxy for response bodies allowing calling a block when the response body is closed (after the response has been fully sent to the client).