Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding interceptor do ClientOptions #148

Open
toshiossada opened this issue Aug 15, 2024 · 1 comment · May be fixed by #149
Open

Adding interceptor do ClientOptions #148

toshiossada opened this issue Aug 15, 2024 · 1 comment · May be fixed by #149

Comments

@toshiossada
Copy link

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

@toshiossada
Copy link
Author

I made this change in #149

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant