-
Notifications
You must be signed in to change notification settings - Fork 366
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
Add timeout option to package:cronet_http #1186
Comments
Can you use the |
Well, I could, however, that kinda breaks the "plug & play" rationale as it involves additional application logic outside the Client. I was hoping for a timeout error to be thrown from the send method
I could make a PR if that's the route this should take. Otherwise I'll simply defer migrating from IOClient to Cronet on Android. |
@brianquinlan Hmm, I'm not sure I follow as both cupertino_http and HttpClient have a timeout option, just cronet_http is missing it.
I've taken your initial suggestion of adding a |
Hey @techouse , I thought that you were looking for a per-request timeout.
|
Hi @brianquinlan , @techouse i think your original request is still valid, this ticket should not be closed? |
Hi,
Are there any plans to add a timeout option to
package:cronet_http
?I'm not sure if a timeout option was omitted by design or by mistake.
The source code seems to say it's disabled by design
The text was updated successfully, but these errors were encountered: