Proyectos
Ver en GitHub
DingProg/NetworkCaptureSelf
Acerca de
基于OKHttp的实用抓包小工具,你值得拥有
Sistemas e infraestructuraCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original概览
一个基于OKHttp的实用抓包小工具
工具界面截图

支持功能
- 自带分类接口
- 抓包数据以时间为纬度,默认存储到手机缓存下 /Android/Data/包名/Cache/capture/ 下
- 支持Http/Https协议的抓包,分类请求方式/请求URL/请求Header/请求体/响应状态/响应Header/响应体
- 支持一键复制对应的状态
- 响应体如果是JSON,支持自动格式化
- 抓包数据,默认缓存一天
快速接入
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
debugImplementation 'com.github.DingProg.NetworkCaptureSelf:library:v1.0.1'
releaseImplementation 'com.github.DingProg.NetworkCaptureSelf:library_no_op:v1.0.1'
}
在你的全局OkHttp中添加 Interceptor
new OkHttpClient.Builder()
.addInterceptor(new CaptureInfoInterceptor())
.build();
注意事项
注意接入时 debugImplementation 和 releaseImplementation区别,releaseImplementation中不包含任何其他代码
如果您的项目中还有buildType 是develop,那么developImplementation 请依赖 'com.github.DingProg.NetworkCaptureSelf:library:v1.0.1'
More
关于更多,请查看 Blog
Explorar proyectos relacionados
Cargando…