Skip to content

Commit 52ff2c5

Browse files
committed
Changed from HttpCacheUtils to HttpCacheOptions
1 parent f5c9c11 commit 52ff2c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkgs/http/lib/src/base_request.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,5 @@ abstract class BaseRequest {
169169
/// [cache] property for caching the network request.
170170
///
171171
/// Defaults to `default`.
172-
String? get cache => HttpCacheUtils.defaultType;
172+
String? get cache => HttpCacheOptions.defaultType;
173173
}

pkgs/http/lib/src/utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Stream<T> onDone<T>(Stream<T> stream, void Function() onDone) =>
7272
/// Caching utilities types for using cache for any http request.
7373
///
7474
/// For more references, check (Caching types)[https://developer.mozilla.org/en-US/docs/Web/API/Request/cache]
75-
mixin HttpCacheUtils {
75+
mixin HttpCacheOptions {
7676
static const String defaultType = 'default';
7777
static const String reloadType = 'reload';
7878
static const String noStoringType = 'no-store';

0 commit comments

Comments
 (0)