Code Monkey home page Code Monkey logo

networkeye's Introduction

NetworkEye

Pod Version Pod Platform Pod License Twitter

README 中文

NetworkEye,a iOS network debug library,monitor HTTP requests.

It can be detected HTTP request include web pages, NSURLConnection, NSURLSession, AFNetworking, 3rd libraries, 3rd SDK ,and so on. very convenient and practical.

It can be map local json file.

I created a google group,this group is for general discussion NetworkEye ,welcome to join,https://groups.google.com/d/forum/networkeye

if you use NetworkEye, you can add it in here,Who-Uses-NetworkEye

welcome to new pull request,that fix bug,add new features,add support other platform.and welcome to new issues.

and thanks to kasketis write the swift version netfox

Podfile

	platform :ios, '7.0'
	pod 'NetworkEye', '~> 1.1.2'
	# pod 'NetworkEye/FMDB', '~> 1.1.2'   # NetworkEye with FMDB ,save your requests to database

Instruction

Note:Use Network Eye in DEBUG mode

add the code in AppDelegate.m

#import "NEHTTPEye.h"
#if defined(DEBUG)||defined(_DEBUG)
    [NEHTTPEye setEnabled:YES];
#endif

you can use use the shortcut (⌘ Command + n) , a double tap or shake device to call out the monitoring data interface

NEHTTPEyeViewController

You can also use the following code

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

In NEHTTPEye, the default password of database is "networkeye" ,and you can save 300 requests.

the database name is networkeye.sqlite,and stored in the cache directory.

#define kSQLitePassword @"networkeye"

#define kSaveRequestMaxCount 300

you can change it use NEHTTPModelManager

    [NEHTTPModelManager defaultManager].saveRequestMaxCount=300;
    [NEHTTPModelManager defaultManager].sqlitePassword=@"networkeye";

NetworkEye use FMDB and SQLCipher。 FMDB is used to store data,SQLCipher is used to encrypt the database。

Monitoring data interface supports some search conditions ,it is URL,statusCode,HTTPMethod,MIMEType。

Preview

Licenses

MIT License.

Contributors

thanks!

Xi Lin

Zhu Lida

Jackrex

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.