@FunctionalInterface public interface OnRetry
Modifier and Type | Method and Description |
---|---|
void |
onRetry(ForestRequest req,
ForestResponse res)
回调函数: 在触发请求重试时执行
|
void onRetry(ForestRequest req, ForestResponse res)
req
- Forest请求对象res
- Forest响应对象Copyright © 2022. All rights reserved.