Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

加上okhttp 如何 #5

Open
Lujango opened this issue May 25, 2016 · 6 comments
Open

加上okhttp 如何 #5

Lujango opened this issue May 25, 2016 · 6 comments

Comments

@Lujango
Copy link

Lujango commented May 25, 2016

想着不错的样子

@tough1985
Copy link
Owner

你的意思是rxjava+okhttp不用retrofit再写一个版本是么?

@Lujango
Copy link
Author

Lujango commented May 26, 2016

@tough1985 三个加起来

@tough1985
Copy link
Owner

但是retrofit本身就封装了okhttp,所以还是没明白你真正的意图

@Lujango
Copy link
Author

Lujango commented May 31, 2016

想用 okhttp 的logging-interceptor时候 或者操作okhttp client

@sunnyxibei
Copy link

retrofit本身不是已经封装了okhttp?

@zzq5636243
Copy link

我觉得用okhttp就是添加相应的缓存吧,在网上有看到不少Retrofit和okhttp联合使用添加缓存机制的方式

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants