3

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!

Community
  • 1
  • 1
user1165756
  • 375
  • 3
  • 11

1 Answers1

3

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.

David Boydell
  • 1,053
  • 1
  • 8
  • 18