I am trying to develop an app which monitors data plan usage of other apps. As per the link iPhone/iPad data usage tracking , I set up the proxy server Charles. Now I can see all the http request/responses of iPhone network traffic in charles. Now I need to write an app that can inspect the HTTP headers of these charles request/responses. How to do this programmatically in IOS(objective-C)? Please help!
I cannot add this as a comment (need 50 rep), and I understand that's it may not be exactly what you're looking for, but is the only way I have found to access sessions programatically.
You could write an app that utilises the Web Interface. I use it whilst running tests against my app to retrieve the session activity, then make assertions against the downloaded information retrospectively. Hope that helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With