接口 Callback<T>
public interface Callback<T>
Http callback.
- 作者:
- liaochuntao
-
方法概要
-
方法详细资料
-
onReceive
Callback after the request is responded.- 参数:
result-RestResult
-
onError
An error occurred during the request.- 参数:
throwable-Throwable
-
onCancel
void onCancel()Callback when the request is cancelled.
-