Commit ccc5cc0
feat(http): add keepalive support for fetch requests (angular#60621)
This commit adds support for the Fetch API's keepalive option when using HttpClient with the withFetch provider.
The change includes:
- Added keepalive to HttpRequestInit interface
- Modified FetchBackend to pass the option
- Added some unit test
PR Close angular#606211 parent e711f99 commit ccc5cc0
File tree
9 files changed
+324
-6
lines changed- goldens/public-api/common/http
- packages/common/http
- src
- test
9 files changed
+324
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
0 commit comments