hive_cache_interceptor 1.0.0-dev.4 copy "hive_cache_interceptor: ^1.0.0-dev.4" to clipboard
hive_cache_interceptor: ^1.0.0-dev.4 copied to clipboard

Package to implements cache using hive in hasura_connect package

Hive Cache Interceptor #

Hasura Connect Cache Interceptor using a hive package

How to use #

pubspec.yaml

dependencies:
  hasura_connect: <last version>
  hive_cache_interceptor: <last version>

yourfile.dart

import 'package:hasura_connect/hasura_connect.dart';
import 'package:hasura_hive_cache_interceptor/hasura_hive_cache_interceptor.dart';

final cacheInterceptor = HiveCacheInterceptor("<your box name> (optional)");
final hasura = HasuraConnect(
  "<your hasura url>",
  interceptors: [cacheInterceptor],
  httpClient: httpClient,
)
7
likes
130
points
30
downloads

Publisher

verified publisherflutterando.com.br

Weekly Downloads

Package to implements cache using hive in hasura_connect package

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, hasura_cache_interceptor, hive, path_provider, platform

More

Packages that depend on hive_cache_interceptor