File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11## 1.0.0-dev.5
22
3+ - Public stable release.
4+ - Bumped ` fetch_api ` to 1.0.0.
5+
6+ ## 1.0.0-dev.5
7+
38- Added ` RedirectPolicy ` , that will make it possible to partially emulate how
49 redirects are returned on ` io ` platforms.
510- Added ` streamRequests ` option to ` FetchClient ` . This allows you to use Fetch
Original file line number Diff line number Diff line change 1- # Fetch API.
1+ # Fetch Client
22
33This package provides [ package: http ] ( https://pub.dev/packages/http ) client based
44on [ Fetch API] ( https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API ) .
55
6+ It's a drop-in solution for extensions with
7+ [ Manifest V3] ( https://developer.chrome.com/docs/extensions/mv3/intro/#introducing-manifest-v3 ) .
8+
69## Features
710
8- * Cancel requests
9- * Support data streaming (responses and optionally requests)
10- * Get access to redirect URL and status
11- * Support non-` 200 ` responses
11+ * Cancel requests.
12+ * Support data streaming:
13+ * Get response as ` Stream ` .
14+ * Optionally send ` Stream ` as request body.
15+ * Get access to redirect URL and status.
16+ * Support non-` 200 ` responses (fetch will only fail on network error).
1217* Simulate redirects responses via probe request and artificial ` location `
1318 header.
Original file line number Diff line number Diff line change 11name : fetch_client
22description : Client for http package based on Fetch API, enables streamed requests on web and more.
3- version : 1.0.0-dev.5
3+ version : 1.0.0
44homepage : https://github.com/Zekfad/fetch_client
55repository : https://github.com/Zekfad/fetch_client
66issue_tracker : https://github.com/Zekfad/fetch_client/issues
@@ -10,10 +10,10 @@ platforms:
1010 web :
1111
1212environment :
13- sdk : ' >=2.19.0-0 <4.0.0'
13+ sdk : ' >=2.19.0 <4.0.0'
1414
1515dependencies :
16- fetch_api : ^1.0.0-dev.5
16+ fetch_api : ^1.0.0
1717 http : ^0.13.5
1818
1919dependency_overrides :
You can’t perform that action at this time.
0 commit comments