How many times will okHttpClient retry the retry before giving up?

Viewed 1405

How many times will okHttpClient retry the retry before giving up when the following flag public OkHttpClient.Builder retryOnConnectionFailure(boolean retryOnConnectionFailure)) is set. I am using following versions.

compile 'com.squareup.okhttp:okhttp-urlconnection:2.2.0' compile 'com.squareup.okhttp:okhttp:2.2.0'

The documentation does not mention anything

Thanks in advance.

On down voting, please provide the reason.

1 Answers
Related