public static interface OkHttpClientUtil.NetCallback
| 限定符和类型 | 方法和说明 |
|---|---|
void |
failed(okhttp3.Call call,
IOException e)
请求失败的回调处理
|
void |
success(okhttp3.Call call,
okhttp3.Response response)
请求成功的回调处理
|
void success(okhttp3.Call call,
okhttp3.Response response)
throws IOException
call - Callresponse - ResponseIOException - 异常void failed(okhttp3.Call call,
IOException e)
call - Calle - 异常Copyright © 2021. All rights reserved.