mirror of
https://github.com/ProxymanApp/atlantis.git
synced 2026-04-26 08:26:04 +03:00
[GH-ISSUE #61] Swizzle URLSession Metrics #42
Labels
No labels
Done
Done
Windows
bug
bug
bug
enhancement
enhancement
enhancement
good first issue
hacktoberfest
pull-request
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/atlantis#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Sherlouk on GitHub (Feb 27, 2021).
Original GitHub issue: https://github.com/ProxymanApp/atlantis/issues/61
Originally assigned to: @NghiaTranUIT on GitHub.
Hey! Got a bit of a feature request here 🤓
How would you feel about swizzling this request:
urlSession(_:task:didFinishCollecting:)This is a really interesting delegate call because it gives you access to the task metrics which includes how long every part of the request took including the DNS lookup, connection, and of course the server response time.
It also provides more information about the request itself including the remote server details, the protocol used and whether it was on a cellular network or not.
All of this data feels useful not only for Atlantis but Proxyman too as it provides a much richer understanding of the time taken to make requests.
@Sherlouk commented on GitHub (Feb 27, 2021):
Worth noting, some (most?) is only available on iOS 13+ (etc) - so should just be a
nilobject on incompatible versions rather than bumping the package's minimum up.@NghiaTranUIT commented on GitHub (Feb 28, 2021):
Thanks for opening this ticket @Sherlouk
I suppose that I should support your request soon and show the data in the Summary Tab on Proxyman macOS 😄
I will put this feature in the next release 🎉
@dioKaratzas commented on GitHub (Mar 9, 2023):
@NghiaTranUIT Any progress on that?
@NghiaTranUIT commented on GitHub (Mar 10, 2023):
Hey @dnKaratzas, I haven't worked on it yet. Which timing elements that you concerned?
@dioKaratzas commented on GitHub (Mar 10, 2023):
@NghiaTranUIT I am working on an In-App request browser by using Atlantis Delegate to grab the
TrafficPackages.I want to get the Request/Response headers/body size. It would be nice if we can get the
Metricsfrom the urlSession(_:task:didFinishCollecting:). Tried to swizzle that method but seems more complicated than the others