Top "Okhttp3" questions

An HTTP+HTTP/2 client for Android and Java applications.

java.lang.NoSuchMethodError: okio.BufferedSource.rangeEquals(JLokio/ByteString;)Z

I am integrating Outlook API and for making HTTP Calls I am using Retrofit version 2.3.0 and okHttp3 version 3.9.1. However when …

spring maven retrofit2 okhttp3 okio
Enable TLS 1.2 in Android 4.4

I use Retrofit and OkHttp3 for making requests. I konw that in Android 4.4 TLS 1.1 and TLS 1.2 are not enabled by …

android retrofit2 android-4.4-kitkat tls1.2 okhttp3
What can we put as parameter of okhttp3 MediaType.parse method for an audio file?

I found that for uploading images using Android with a RequestBody, we can use MediaType.parse("image/jpeg"). However, what …

android retrofit2 okhttp3 media-type
Got this error with retrofit2 & OkHttp3. Unable to resolve host "<host-name>": No address associated with hostname

I am using the retrofit 2 and OkHttp3 to request data from server. I just added a offline cache code but …

android okhttp retrofit2 offline-caching okhttp3
Retrofit2 java.lang.NoClassDefFoundError: okhttp3/Call$Factory in JAVA

I am not developing a Android Application , I'm just writing some JAVA codes to support Imgur API services. public interface …

java rest retrofit2 okhttp3 imgur
Websocket paused when android app goes to background

My android app starts a service that opens a websocket to communicate to a remote server. The service spawns a …

android websocket okhttp3 autobahnws