Closed ocurr closed 4 years ago
What's the benefit of exposing currentRequest
?
I'm currently using DVR with a networking library that uses currentRequest
as part of it's logging cycle. It was easier to have DVR expose it then try to rework the library to use something else. I suppose that this is an edge use case, but I would prefer not to have to maintain a fork just to handle this one difference.
Hi @ocurr , this PR was filed quite a long time ago (Sorry for the limited maintenance) and I was running through old tickets and this seemed like it satisfies a goal and could be pulled in.
Seeing if this could be rebased, and I'd be happy to merge.
Closing in favor of PR from latest master: https://github.com/venmo/DVR/pull/95
Exposes currentRequest member variable of SessionDataTask in extended SessionDataTask. I'm fairly new to swift so any critiques are very welcome.