Useful library for the Android HTTP library

Has anyone considered using the Square’s okhttp library in the Android Client? Used it personally and it was really easy to use…

Any opinions on this?

My favourite is

That looks awesome!

Nice. I personally prefer Google’s own Volley . It actually makes thread handling a piece of cake. :slight_smile:

Retrofit for simple things, okhttp if you need more flexibility has been my choice. Never used volley yet.

1 Like

I have worked with both Volley and Retrofit, and found although Volley is a bit complex it provides some better features like customizable caching mechanism, setting retry policy etc. Retrofit is better in terms of parsing of responses and easier to use. I haven’t explored okhttp yet.

OkHttp is elegant – and it has decent async support too.

1 Like