Home  >  Q&A  >  body text

ios - 如何监控应用的网络请求

在iOS是怎么监控所有网络的请求. 类似听云等APM服务都可以不用任何代码即可监控整个应用的网络请求状态.

迷茫迷茫2712 days ago375

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-04-17 15:19:11

    It turns out that you can do this through NSURLProtocol.

    Here are related articles.

    • iOS development---NSURLProtocol

    • NSURLProtocol Tutorial

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 15:19:11

    Use an HTTP request monitoring tool like Charles

    reply
    0
  • Cancelreply