Skip to content

//okhttp/okhttp3/Callback/onFailure

onFailure

[common]\ abstract fun onFailure(call: Call, e: IOException)

Called when the request could not be executed due to cancellation, a connectivity problem or timeout. Because networks can fail during an exchange, it is possible that the remote server accepted the request before the failure.