dart-lang / dart-lang/http

add Timeout functionality for http package

Open
#21 26 comments 36 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.