getCacheWithReq method

Future<HttpCacheObj?>? getCacheWithReq(
  1. RequestOptions options
)

根据请求获取缓存

Implementation

Future<HttpCacheObj?>? getCacheWithReq(RequestOptions options) async {
  var cacheKey = getCacheKeyWithReq(options);
  return cacheKey == null ? null : getCache(cacheKey);
}