algoliasearch-helper-flutter
algoliasearch-helper-flutter copied to clipboard
Adding interceptor do ClientOptions
When I create a HitsSearcher() I would to be ennabled to give interceptors to custumize my interceptors.
HitsSearcher(
applicationID: Constants.applicationId,
apiKey: Constants.apiKey,
indexName: Constants.indexName,
options: const ClientOptions(
connectTimeout: Duration(seconds: 40),
interceptors: [MyInterceptor()]
),
),
This way I could to do my own Cache system
I made this change in https://github.com/algolia/algoliasearch-helper-flutter/pull/149