Proyectos
Ver en GitHub 
linkaipeng/OkNetworkMonitor
Acerca de
A network monitor for OkHttp.
Sistemas e infraestructuraCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- 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
OriginalEnglish ReadMe
OkNetworkMonitor
一个 OKHttp 抓包工具,可以实现在手机上面的抓包,可以方便平时开发中的调试。
- 抓包:可以看到 请求头、响应头、响应数据 等;
- 可复制请求为 CURL 格式,方便调试、协作;
- 请求全链路耗时监控,并可自定义超时提醒;
使用
导入
implementation 'me.linkaipeng:okNetworkMonitor:1.0.0'
抓包
new OkHttpClient.Builder()
.addNetworkInterceptor(new OkNetworkMonitorInterceptor())
链路监控
new OkHttpClient.Builder()
.eventListenerFactory(NetworkEventListener.Companion.getFACTORY())
入口
1.跳到抓包页面
NetworkFeedActivity.start(this);
2.或者桌面快捷入口

截图
请求详情,支持复制为 curl 格式

超时提醒,可自定义超时时间,请求链路任意环节超时即可显示通知

LICENSE
MIT
Explorar proyectos relacionados
Cargando…