Android代码-Ok2Curl

时间:2022-08-27 20:07:05
【文件属性】:

文件名称:Android代码-Ok2Curl

文件大小:119KB

文件格式:ZIP

更新时间:2022-08-27 20:07:05

Android代码

Ok2Curl Convert OkHttp requests into curl logs. Usage Add library to project dependencies. Library is hosted on jcenter. repositories { jcenter() } dependencies { implementation 'com.github.mrmike:ok2curl:0.4.5' } To start logging requests with Ok2Curl add interceptor to OkHttp client. OkHttpClient okHttp = new OkHttpClient.Builder() .addInterceptor(new CurlInterceptor(new Loggable() { @Override public void log(String message) { Log.v("Ok2C


【文件预览】:
Ok2Curl-master
----.travis.yml(403B)
----gradlew.bat(2KB)
----gradlew(5KB)
----gradle.properties(783B)
----sample()
--------proguard-rules.pro(751B)
--------src()
--------build.gradle(1KB)
--------lint.xml(115B)
----LICENSE(11KB)
----gradle()
--------wrapper()
----.gitignore(229B)
----README.md(4KB)
----scripts()
--------deploy.sh(70B)
----settings.gradle(30B)
----ok2curl()
--------src()
--------build.gradle(2KB)
----build.gradle(443B)

网友评论