Here’s the Deal
Slant is powered by a community that helps you make informed decisions. Tell us what you’re passionate about to get your personalized feed and help others.
When comparing DavidWebb vs OkHttp, the Slant community recommends OkHttp for most people. In the question“What are the best HTTP access libraries for Android?” OkHttp is ranked 1st while DavidWebb is ranked 5th.
Ranked in these QuestionsQuestion Ranking
Common Questions
Pros
Pro org.json support (JSONObject, JSONArray)
Pro Fluent API
Pro Very lightweight
Just a thin wrapper over HttpURLConnection.
Pro Bullet proofed
Pro Supports SPDY
SPDY allows for manipulation of web traffic in order to reduce web page load latency.
Cons
Con No PATCH method support
A limitation coming from Java HttpURLConnection.
Con No Multipart/MIME support
Con No Async support
Have to call it in background thread (AsyncTask, IntentService).
No cons yet!