venmo / DVR

Network testing for Swift
http://blog.soff.es/network-testing-in-swift-with-dvr
MIT License
651 stars 86 forks source link

Expose currentRequest in SessionDataTask #95

Closed dmiluski closed 4 years ago

dmiluski commented 4 years ago

Based on Prior PR which went stale (due to limited maintenance) https://github.com/venmo/DVR/pull/70 by https://github.com/ocurr

Goal: Expose currentRequest which should be expected given URLSessionDataTask subclass

Reasoning: By exposing currentTask, SessionDataTask can provide request for easy logging support

Changes: