add Timeout functionality for http package
Open
type-enhancement
- Dominant language
- Dart
- Stars
- 1.1k
- Forks
- 419
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 8
Description
_Originally opened as dart-lang/sdk#19831_
_This issue was originally filed by theburnin...@gmail.com_
---
**What steps will clearly show the issue / need for enhancement?**
1. when making http requests you usually want to timeout the request after a reasonable amount of time (usually in the region of seconds)
2. it would be great to have away to specify timeout as Duration when making a http request via the http/browser client/http client classes.
**What version of the product are you using? On what operating system?**
Dart 1.5.1, http 0.11.1+1
Contributor guide
Assessment
This issue has not been assessed yet.