-
Notifications
You must be signed in to change notification settings - Fork 656
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
Way to add request timeout in apollo kotlin multiplatform #2680
Comments
Thanks for opening that up! Do you feel like opening a PR about this? If not, I can look at the same time as #2665. |
Hi @martinbonnin thanks for the quick response. sadly i'll not be able to work on it now. |
I think you can take this along with #2665. |
@martinbonnin What is a correct way to set a read timeout in Apollo 3.7? I no longer see |
@andrey-nakin you can use
|
@martinbonnin it works, thank you. |
We don't have a way to set request timeout in Apollo client
I'm using apollo kotlin multiplatform in my project and it's amazing but i have found that there is no way to set request timeout. Both OkHttp and NSURLConnection supports it currently we have to re-implement the whole NetworkTransport in both android and ios to achieve this.
Adding requestTimeout parameter ApolloHttpNetworkTransport class
Adding the requestTimeout parameter would be a good idea.
The text was updated successfully, but these errors were encountered: