Android代码-retrofit1-okhttp3-client

时间:2022-08-26 01:23:10
【文件属性】:

文件名称:Android代码-retrofit1-okhttp3-client

文件大小:15KB

文件格式:ZIP

更新时间:2022-08-26 01:23:10

Android代码

Retrofit 1 OkHttp 3 Client A OkHttp 3 client implementation for Retrofit 1. Usage Create an instance of Ok3Client wrapping your OkHttpClient or Call.Factory and pass it to setClient. OkHttpClient client = // ... RestAdapter restAdapter = new RestAdapter.Builder() .setClient(new Ok3Client(client)) .setEndpoint(..) .build() You can also use the no-arg constructor for a default OkHttpClient instance. Download Gradle: compile 'com.jakewharton.retrofit:retrofit1-okhttp3-client:1.1.0' or M


【文件预览】:
retrofit1-okhttp3-client-master
----LICENSE.txt(11KB)
----src()
--------test()
--------main()
----.travis.yml(170B)
----checkstyle.xml(5KB)
----README.md(1KB)
----pom.xml(3KB)
----.gitignore(180B)
----CHANGELOG.md(467B)

网友评论