{"id":1623,"url":"https://github.com/qiniu/iOS-netdiag","last_synced_at":"2025-08-02T04:32:03.341Z","repository":{"id":56937845,"uuid":"48609591","full_name":"qiniu/iOS-netdiag","owner":"qiniu","description":"Network Diagnosis for iOS","archived":false,"fork":false,"pushed_at":"2019-05-29T06:51:11.000Z","size":755,"stargazers_count":147,"open_issues_count":8,"forks_count":41,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-25T11:30:57.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://developer.qiniu.com","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qiniu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"Contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-26T12:15:52.000Z","updated_at":"2024-11-22T12:21:12.000Z","dependencies_parsed_at":"2022-08-21T06:50:21.374Z","dependency_job_id":null,"html_url":"https://github.com/qiniu/iOS-netdiag","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiniu%2FiOS-netdiag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiniu%2FiOS-netdiag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiniu%2FiOS-netdiag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qiniu%2FiOS-netdiag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qiniu","download_url":"https://codeload.github.com/qiniu/iOS-netdiag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228439026,"owners_count":17920017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:15:51.649Z","updated_at":"2024-12-06T08:31:20.169Z","avatar_url":"https://github.com/qiniu.png","language":"Objective-C","funding_links":[],"categories":["Networking"],"sub_categories":["Video","Other free courses"],"readme":"# Network Diagnosis for iOS\n\n[![@qiniu on weibo](http://img.shields.io/badge/weibo-%40qiniutek-blue.svg)](http://weibo.com/qiniutek)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE.md)\n[![Build Status](https://travis-ci.org/qiniu/iOS-netdiag.svg?branch=master)](https://travis-ci.org/qiniu/iOS-netdiag)\n[![Latest Stable Version](http://img.shields.io/cocoapods/v/QNNetDiag.svg)](https://github.com/qiniu/iOS-netdiag/releases)\n![Platform](http://img.shields.io/cocoapods/p/QNNetDiag.svg)\n\n## [中文](https://github.com/qiniu/iOS-netdiag/blob/master/README_cn.md)\n\n## Summary\n\nNetwork Diagnosis Library，support Ping/TcpPing/Rtmp/TraceRoute/DNS/external IP/external DNS。\n\n## Install\n\nCocoaPods\n\n```ruby\npod \"QNNetDiag\"\n```\n\n## Usage\n### Ping\n```\n@interface YourLogger : NSObject \u003cQNNOutputDelegate\u003e\n...\n@end\n\n[QNNPing start:@\"www.google.com\" output:[[YourLogger alloc] init] complete:^(QNNPingResult* r) {\n        ...\n}];\n```\n\n### TcpPing\n```\n[QNNTcpPing start:@\"www.baidu.com\" output:[[QNNTestLogger alloc] init] complete:^(QNNTcpPingResult* r) {\n    ...\n}];\n```\n## Test\n\n\n### All Unit Test\n\n``` bash\n$ xctool -workspace NetDiag.xcworkspace -scheme NetDiagTests build test -sdk iphonesimulator\n```\n\n## Faq\n\n- If there are any compile errors, please look at Cocoapods's [troubleshooting](http://guides.cocoapods.org/using/troubleshooting.html)\n\n## Contributing\n\nPlease Look at[Contributing Guide](https://github.com/qiniu/iOS-netdiag/blob/master/CONTRIBUTING.md)。\n\n## Contributors\n\n- [Contributors](https://github.com/qiniu/iOS-netdiag/contributors)\n\n## Contact us\n\n- If you find any bug， please submit [issue](https://github.com/qiniu/iOS-netdiag/issues)\n- If you need any feature， please submit [issue](https://github.com/qiniu/iOS-netdiag/issues)\n- If you want to contribute, please submit pull request\n\n## License\n\nThe MIT License (MIT). [License](https://github.com/qiniu/iOS-netdiag/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiniu%2FiOS-netdiag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqiniu%2FiOS-netdiag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiniu%2FiOS-netdiag/lists"}