GithubHelp home page GithubHelp logo

augmify / networkeye Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coderyi/networkeye

0.0 0.0 0.0 1.48 MB

iOS网络调试库,NetworkEye可以监控App内HTTP请求并显示请求相关的详细信息,方便App开发的网络调试。

Home Page: https://github.com/coderyi/NetworkEye

License: MIT License

Ruby 1.30% Objective-C 98.70%

networkeye's Introduction

NetworkEye

Pod Version Pod Platform Pod License

NetworkEye是一个网络调试库,可以监控App内所有HTTP请求并显示请求相关的所有信息,方便App开发的网络调试。

可以检测到包括网页,NSURLConnecttion,AFNetworking,第三方库,第三方SDK等的HTTP请求,非常方便实用。并且可以统计App内流量

NetworkEye,a iOS network debug library,It can monitor all HTTP requests within the App and displays all information related to the request.

Podfile

platform :ios, '7.0'
pod "NetworkEye", "~> 0.9.5"

######使用: 注意请在DEBUG模式下使用NetworkEye 在AppDelegate.m里面加入下面代码就可以了

#import "NEHTTPEye.h"
#if defined(DEBUG)||defined(_DEBUG)
    [NSURLProtocol registerClass:[NEHTTPEye class]];
#endif

使用的时候可以通过双指轻拍或者摇一摇(Shake Gesture)手势调出监控数据界面NEHTTPEyeViewController 也可以用如下代码直接present出来。

#if defined(DEBUG)||defined(_DEBUG)
    NEHTTPEyeViewController *vc=[[NEHTTPEyeViewController alloc] init];
    [self presentViewController:vc animated:YES completion:nil];
#endif

在NEHTTPEye.h里面有两个可以配置的参数即默认数据库密码是networkeye和默认监控最多300条请求,请求的保存位置在缓存目录的networkeye.sqlite内。

#define kSQLitePassword @"networkeye"

#define kSaveRequestMaxCount 300

NetworkEye使用了Aspects并且依赖仓库FMDB和SQLCipher。 Aspects用于摇一摇手势,FMDB用于存储监控数据,SQLCipher用于加密数据库。

NetworkEye的监控数据界面如图:

networkeye's People

Contributors

coderyi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.