getCacheWithReq method
根据请求获取缓存
Implementation
Future<HttpCacheObj?>? getCacheWithReq(RequestOptions options) async {
var cacheKey = getCacheKeyWithReq(options);
return cacheKey == null ? null : getCache(cacheKey);
}
根据请求获取缓存
Future<HttpCacheObj?>? getCacheWithReq(RequestOptions options) async {
var cacheKey = getCacheKeyWithReq(options);
return cacheKey == null ? null : getCache(cacheKey);
}