class HTTP::Cache
def make_request(req, options, request_performer)
-
(HTTP::Response::Caching)
- the actual response returned
def make_request(req, options, request_performer) req.sent_at = Time.now request_performer.call(req, options).caching.tap do |res| res.received_at = Time.now res.requested_at = req.sent_at end end