@angular/common 20.0.0-next.7 → 20.0.0-next.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/http/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Angular v20.0.0-next.7
2
+ * @license Angular v20.0.0-next.9
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import { Observable } from 'rxjs';
8
- import { HttpRequest, HttpEvent, HttpHeaders, HttpContext, HttpParams, HttpResponse, HttpProgressEvent } from '../module.d-CnjH8Dlt.js';
9
- export { HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule, HttpContextToken, HttpDownloadProgressEvent, HttpErrorResponse, HttpEventType, HttpHeaderResponse, HttpParameterCodec, HttpParamsOptions, HttpResponseBase, HttpSentEvent, HttpStatusCode, HttpUploadProgressEvent, HttpUrlEncodingCodec, HttpUserEvent } from '../module.d-CnjH8Dlt.js';
8
+ import { HttpRequest, HttpEvent, HttpHeaders, HttpContext, HttpParams, HttpResponse, HttpProgressEvent } from '../module.d-yNBsZ8gb.js';
9
+ export { HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule, HttpContextToken, HttpDownloadProgressEvent, HttpErrorResponse, HttpEventType, HttpHeaderResponse, HttpParameterCodec, HttpParamsOptions, HttpResponseBase, HttpSentEvent, HttpStatusCode, HttpUploadProgressEvent, HttpUrlEncodingCodec, HttpUserEvent } from '../module.d-yNBsZ8gb.js';
10
10
  import * as i0 from '@angular/core';
11
11
  import { InjectionToken, EnvironmentInjector, Provider, EnvironmentProviders, WritableResource, ResourceRef, Signal, Injector, ValueEqualityFn } from '@angular/core';
12
12
  import { XhrFactory } from '../xhr.d-D_1kTQR5.js';
@@ -122,6 +122,7 @@ declare class HttpClient {
122
122
  reportProgress?: boolean;
123
123
  responseType: 'arraybuffer';
124
124
  withCredentials?: boolean;
125
+ keepalive?: boolean;
125
126
  transferCache?: {
126
127
  includeHeaders?: string[];
127
128
  } | boolean;
@@ -145,6 +146,7 @@ declare class HttpClient {
145
146
  reportProgress?: boolean;
146
147
  responseType: 'blob';
147
148
  withCredentials?: boolean;
149
+ keepalive?: boolean;
148
150
  transferCache?: {
149
151
  includeHeaders?: string[];
150
152
  } | boolean;
@@ -168,6 +170,7 @@ declare class HttpClient {
168
170
  reportProgress?: boolean;
169
171
  responseType: 'text';
170
172
  withCredentials?: boolean;
173
+ keepalive?: boolean;
171
174
  transferCache?: {
172
175
  includeHeaders?: string[];
173
176
  } | boolean;
@@ -192,6 +195,7 @@ declare class HttpClient {
192
195
  reportProgress?: boolean;
193
196
  responseType: 'arraybuffer';
194
197
  withCredentials?: boolean;
198
+ keepalive?: boolean;
195
199
  transferCache?: {
196
200
  includeHeaders?: string[];
197
201
  } | boolean;
@@ -216,6 +220,7 @@ declare class HttpClient {
216
220
  reportProgress?: boolean;
217
221
  responseType: 'blob';
218
222
  withCredentials?: boolean;
223
+ keepalive?: boolean;
219
224
  transferCache?: {
220
225
  includeHeaders?: string[];
221
226
  } | boolean;
@@ -240,6 +245,7 @@ declare class HttpClient {
240
245
  reportProgress?: boolean;
241
246
  responseType: 'text';
242
247
  withCredentials?: boolean;
248
+ keepalive?: boolean;
243
249
  transferCache?: {
244
250
  includeHeaders?: string[];
245
251
  } | boolean;
@@ -264,6 +270,7 @@ declare class HttpClient {
264
270
  params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
265
271
  responseType?: 'json';
266
272
  withCredentials?: boolean;
273
+ keepalive?: boolean;
267
274
  transferCache?: {
268
275
  includeHeaders?: string[];
269
276
  } | boolean;
@@ -288,6 +295,7 @@ declare class HttpClient {
288
295
  params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
289
296
  responseType?: 'json';
290
297
  withCredentials?: boolean;
298
+ keepalive?: boolean;
291
299
  transferCache?: {
292
300
  includeHeaders?: string[];
293
301
  } | boolean;
@@ -311,6 +319,7 @@ declare class HttpClient {
311
319
  reportProgress?: boolean;
312
320
  responseType: 'arraybuffer';
313
321
  withCredentials?: boolean;
322
+ keepalive?: boolean;
314
323
  transferCache?: {
315
324
  includeHeaders?: string[];
316
325
  } | boolean;
@@ -333,6 +342,7 @@ declare class HttpClient {
333
342
  reportProgress?: boolean;
334
343
  responseType: 'blob';
335
344
  withCredentials?: boolean;
345
+ keepalive?: boolean;
336
346
  transferCache?: {
337
347
  includeHeaders?: string[];
338
348
  } | boolean;
@@ -356,6 +366,7 @@ declare class HttpClient {
356
366
  reportProgress?: boolean;
357
367
  responseType: 'text';
358
368
  withCredentials?: boolean;
369
+ keepalive?: boolean;
359
370
  transferCache?: {
360
371
  includeHeaders?: string[];
361
372
  } | boolean;
@@ -380,6 +391,7 @@ declare class HttpClient {
380
391
  params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
381
392
  responseType?: 'json';
382
393
  withCredentials?: boolean;
394
+ keepalive?: boolean;
383
395
  }): Observable<HttpResponse<Object>>;
384
396
  /**
385
397
  * Constructs a request which interprets the body as a JavaScript object and returns
@@ -400,6 +412,7 @@ declare class HttpClient {
400
412
  params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
401
413
  responseType?: 'json';
402
414
  withCredentials?: boolean;
415
+ keepalive?: boolean;
403
416
  transferCache?: {
404
417
  includeHeaders?: string[];
405
418
  } | boolean;
@@ -423,6 +436,7 @@ declare class HttpClient {
423
436
  responseType?: 'json';
424
437
  reportProgress?: boolean;
425
438
  withCredentials?: boolean;
439
+ keepalive?: boolean;
426
440
  transferCache?: {
427
441
  includeHeaders?: string[];
428
442
  } | boolean;
@@ -446,6 +460,7 @@ declare class HttpClient {
446
460
  responseType?: 'json';
447
461
  reportProgress?: boolean;
448
462
  withCredentials?: boolean;
463
+ keepalive?: boolean;
449
464
  transferCache?: {
450
465
  includeHeaders?: string[];
451
466
  } | boolean;
@@ -468,6 +483,7 @@ declare class HttpClient {
468
483
  reportProgress?: boolean;
469
484
  responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
470
485
  withCredentials?: boolean;
486
+ keepalive?: boolean;
471
487
  transferCache?: {
472
488
  includeHeaders?: string[];
473
489
  } | boolean;
@@ -489,6 +505,7 @@ declare class HttpClient {
489
505
  reportProgress?: boolean;
490
506
  responseType: 'arraybuffer';
491
507
  withCredentials?: boolean;
508
+ keepalive?: boolean;
492
509
  body?: any | null;
493
510
  }): Observable<ArrayBuffer>;
494
511
  /**
@@ -508,6 +525,7 @@ declare class HttpClient {
508
525
  reportProgress?: boolean;
509
526
  responseType: 'blob';
510
527
  withCredentials?: boolean;
528
+ keepalive?: boolean;
511
529
  body?: any | null;
512
530
  }): Observable<Blob>;
513
531
  /**
@@ -527,6 +545,7 @@ declare class HttpClient {
527
545
  reportProgress?: boolean;
528
546
  responseType: 'text';
529
547
  withCredentials?: boolean;
548
+ keepalive?: boolean;
530
549
  body?: any | null;
531
550
  }): Observable<string>;
532
551
  /**
@@ -547,6 +566,7 @@ declare class HttpClient {
547
566
  reportProgress?: boolean;
548
567
  responseType: 'arraybuffer';
549
568
  withCredentials?: boolean;
569
+ keepalive?: boolean;
550
570
  body?: any | null;
551
571
  }): Observable<HttpEvent<ArrayBuffer>>;
552
572
  /**
@@ -567,6 +587,7 @@ declare class HttpClient {
567
587
  reportProgress?: boolean;
568
588
  responseType: 'blob';
569
589
  withCredentials?: boolean;
590
+ keepalive?: boolean;
570
591
  body?: any | null;
571
592
  }): Observable<HttpEvent<Blob>>;
572
593
  /**
@@ -587,6 +608,7 @@ declare class HttpClient {
587
608
  reportProgress?: boolean;
588
609
  responseType: 'text';
589
610
  withCredentials?: boolean;
611
+ keepalive?: boolean;
590
612
  body?: any | null;
591
613
  }): Observable<HttpEvent<string>>;
592
614
  /**
@@ -607,6 +629,7 @@ declare class HttpClient {
607
629
  reportProgress?: boolean;
608
630
  responseType?: 'json';
609
631
  withCredentials?: boolean;
632
+ keepalive?: boolean;
610
633
  body?: any | null;
611
634
  }): Observable<HttpEvent<Object>>;
612
635
  /**
@@ -627,6 +650,7 @@ declare class HttpClient {
627
650
  reportProgress?: boolean;
628
651
  responseType?: 'json';
629
652
  withCredentials?: boolean;
653
+ keepalive?: boolean;
630
654
  body?: any | null;
631
655
  }): Observable<HttpEvent<T>>;
632
656
  /**
@@ -646,6 +670,7 @@ declare class HttpClient {
646
670
  reportProgress?: boolean;
647
671
  responseType: 'arraybuffer';
648
672
  withCredentials?: boolean;
673
+ keepalive?: boolean;
649
674
  body?: any | null;
650
675
  }): Observable<HttpResponse<ArrayBuffer>>;
651
676
  /**
@@ -665,6 +690,7 @@ declare class HttpClient {
665
690
  reportProgress?: boolean;
666
691
  responseType: 'blob';
667
692
  withCredentials?: boolean;
693
+ keepalive?: boolean;
668
694
  body?: any | null;
669
695
  }): Observable<HttpResponse<Blob>>;
670
696
  /**
@@ -684,6 +710,7 @@ declare class HttpClient {
684
710
  reportProgress?: boolean;
685
711
  responseType: 'text';
686
712
  withCredentials?: boolean;
713
+ keepalive?: boolean;
687
714
  body?: any | null;
688
715
  }): Observable<HttpResponse<string>>;
689
716
  /**
@@ -704,6 +731,7 @@ declare class HttpClient {
704
731
  reportProgress?: boolean;
705
732
  responseType?: 'json';
706
733
  withCredentials?: boolean;
734
+ keepalive?: boolean;
707
735
  body?: any | null;
708
736
  }): Observable<HttpResponse<Object>>;
709
737
  /**
@@ -723,6 +751,7 @@ declare class HttpClient {
723
751
  reportProgress?: boolean;
724
752
  responseType?: 'json';
725
753
  withCredentials?: boolean;
754
+ keepalive?: boolean;
726
755
  body?: any | null;
727
756
  }): Observable<HttpResponse<T>>;
728
757
  /**
@@ -742,6 +771,7 @@ declare class HttpClient {
742
771
  reportProgress?: boolean;
743
772
  responseType?: 'json';
744
773
  withCredentials?: boolean;
774
+ keepalive?: boolean;
745
775
  body?: any | null;
746
776
  }): Observable<Object>;
747
777
  /**
@@ -761,6 +791,7 @@ declare class HttpClient {
761
791
  reportProgress?: boolean;
762
792
  responseType?: 'json';
763
793
  withCredentials?: boolean;
794
+ keepalive?: boolean;
764
795
  body?: any | null;
765
796
  }): Observable<T>;
766
797
  /**
@@ -780,6 +811,7 @@ declare class HttpClient {
780
811
  reportProgress?: boolean;
781
812
  responseType: 'arraybuffer';
782
813
  withCredentials?: boolean;
814
+ keepalive?: boolean;
783
815
  transferCache?: {
784
816
  includeHeaders?: string[];
785
817
  } | boolean;
@@ -801,6 +833,7 @@ declare class HttpClient {
801
833
  reportProgress?: boolean;
802
834
  responseType: 'blob';
803
835
  withCredentials?: boolean;
836
+ keepalive?: boolean;
804
837
  transferCache?: {
805
838
  includeHeaders?: string[];
806
839
  } | boolean;
@@ -822,6 +855,7 @@ declare class HttpClient {
822
855
  reportProgress?: boolean;
823
856
  responseType: 'text';
824
857
  withCredentials?: boolean;
858
+ keepalive?: boolean;
825
859
  transferCache?: {
826
860
  includeHeaders?: string[];
827
861
  } | boolean;
@@ -844,6 +878,7 @@ declare class HttpClient {
844
878
  reportProgress?: boolean;
845
879
  responseType: 'arraybuffer';
846
880
  withCredentials?: boolean;
881
+ keepalive?: boolean;
847
882
  transferCache?: {
848
883
  includeHeaders?: string[];
849
884
  } | boolean;
@@ -865,6 +900,7 @@ declare class HttpClient {
865
900
  reportProgress?: boolean;
866
901
  responseType: 'blob';
867
902
  withCredentials?: boolean;
903
+ keepalive?: boolean;
868
904
  transferCache?: {
869
905
  includeHeaders?: string[];
870
906
  } | boolean;
@@ -886,6 +922,7 @@ declare class HttpClient {
886
922
  reportProgress?: boolean;
887
923
  responseType: 'text';
888
924
  withCredentials?: boolean;
925
+ keepalive?: boolean;
889
926
  transferCache?: {
890
927
  includeHeaders?: string[];
891
928
  } | boolean;
@@ -907,6 +944,7 @@ declare class HttpClient {
907
944
  reportProgress?: boolean;
908
945
  responseType?: 'json';
909
946
  withCredentials?: boolean;
947
+ keepalive?: boolean;
910
948
  transferCache?: {
911
949
  includeHeaders?: string[];
912
950
  } | boolean;
@@ -928,6 +966,7 @@ declare class HttpClient {
928
966
  reportProgress?: boolean;
929
967
  responseType?: 'json';
930
968
  withCredentials?: boolean;
969
+ keepalive?: boolean;
931
970
  transferCache?: {
932
971
  includeHeaders?: string[];
933
972
  } | boolean;
@@ -950,6 +989,7 @@ declare class HttpClient {
950
989
  reportProgress?: boolean;
951
990
  responseType: 'arraybuffer';
952
991
  withCredentials?: boolean;
992
+ keepalive?: boolean;
953
993
  transferCache?: {
954
994
  includeHeaders?: string[];
955
995
  } | boolean;
@@ -972,6 +1012,7 @@ declare class HttpClient {
972
1012
  reportProgress?: boolean;
973
1013
  responseType: 'blob';
974
1014
  withCredentials?: boolean;
1015
+ keepalive?: boolean;
975
1016
  transferCache?: {
976
1017
  includeHeaders?: string[];
977
1018
  } | boolean;
@@ -994,6 +1035,7 @@ declare class HttpClient {
994
1035
  reportProgress?: boolean;
995
1036
  responseType: 'text';
996
1037
  withCredentials?: boolean;
1038
+ keepalive?: boolean;
997
1039
  transferCache?: {
998
1040
  includeHeaders?: string[];
999
1041
  } | boolean;
@@ -1016,6 +1058,7 @@ declare class HttpClient {
1016
1058
  reportProgress?: boolean;
1017
1059
  responseType?: 'json';
1018
1060
  withCredentials?: boolean;
1061
+ keepalive?: boolean;
1019
1062
  transferCache?: {
1020
1063
  includeHeaders?: string[];
1021
1064
  } | boolean;
@@ -1038,6 +1081,7 @@ declare class HttpClient {
1038
1081
  reportProgress?: boolean;
1039
1082
  responseType?: 'json';
1040
1083
  withCredentials?: boolean;
1084
+ keepalive?: boolean;
1041
1085
  transferCache?: {
1042
1086
  includeHeaders?: string[];
1043
1087
  } | boolean;
@@ -1060,6 +1104,7 @@ declare class HttpClient {
1060
1104
  reportProgress?: boolean;
1061
1105
  responseType?: 'json';
1062
1106
  withCredentials?: boolean;
1107
+ keepalive?: boolean;
1063
1108
  transferCache?: {
1064
1109
  includeHeaders?: string[];
1065
1110
  } | boolean;
@@ -1081,6 +1126,7 @@ declare class HttpClient {
1081
1126
  reportProgress?: boolean;
1082
1127
  responseType?: 'json';
1083
1128
  withCredentials?: boolean;
1129
+ keepalive?: boolean;
1084
1130
  transferCache?: {
1085
1131
  includeHeaders?: string[];
1086
1132
  } | boolean;
@@ -1102,6 +1148,7 @@ declare class HttpClient {
1102
1148
  reportProgress?: boolean;
1103
1149
  responseType: 'arraybuffer';
1104
1150
  withCredentials?: boolean;
1151
+ keepalive?: boolean;
1105
1152
  transferCache?: {
1106
1153
  includeHeaders?: string[];
1107
1154
  } | boolean;
@@ -1123,6 +1170,7 @@ declare class HttpClient {
1123
1170
  reportProgress?: boolean;
1124
1171
  responseType: 'blob';
1125
1172
  withCredentials?: boolean;
1173
+ keepalive?: boolean;
1126
1174
  transferCache?: {
1127
1175
  includeHeaders?: string[];
1128
1176
  } | boolean;
@@ -1144,6 +1192,7 @@ declare class HttpClient {
1144
1192
  reportProgress?: boolean;
1145
1193
  responseType: 'text';
1146
1194
  withCredentials?: boolean;
1195
+ keepalive?: boolean;
1147
1196
  transferCache?: {
1148
1197
  includeHeaders?: string[];
1149
1198
  } | boolean;
@@ -1166,6 +1215,7 @@ declare class HttpClient {
1166
1215
  reportProgress?: boolean;
1167
1216
  responseType: 'arraybuffer';
1168
1217
  withCredentials?: boolean;
1218
+ keepalive?: boolean;
1169
1219
  transferCache?: {
1170
1220
  includeHeaders?: string[];
1171
1221
  } | boolean;
@@ -1188,6 +1238,7 @@ declare class HttpClient {
1188
1238
  reportProgress?: boolean;
1189
1239
  responseType: 'blob';
1190
1240
  withCredentials?: boolean;
1241
+ keepalive?: boolean;
1191
1242
  transferCache?: {
1192
1243
  includeHeaders?: string[];
1193
1244
  } | boolean;
@@ -1210,6 +1261,7 @@ declare class HttpClient {
1210
1261
  reportProgress?: boolean;
1211
1262
  responseType: 'text';
1212
1263
  withCredentials?: boolean;
1264
+ keepalive?: boolean;
1213
1265
  transferCache?: {
1214
1266
  includeHeaders?: string[];
1215
1267
  } | boolean;
@@ -1232,6 +1284,7 @@ declare class HttpClient {
1232
1284
  reportProgress?: boolean;
1233
1285
  responseType?: 'json';
1234
1286
  withCredentials?: boolean;
1287
+ keepalive?: boolean;
1235
1288
  transferCache?: {
1236
1289
  includeHeaders?: string[];
1237
1290
  } | boolean;
@@ -1254,6 +1307,7 @@ declare class HttpClient {
1254
1307
  reportProgress?: boolean;
1255
1308
  responseType?: 'json';
1256
1309
  withCredentials?: boolean;
1310
+ keepalive?: boolean;
1257
1311
  transferCache?: {
1258
1312
  includeHeaders?: string[];
1259
1313
  } | boolean;
@@ -1276,6 +1330,7 @@ declare class HttpClient {
1276
1330
  reportProgress?: boolean;
1277
1331
  responseType: 'arraybuffer';
1278
1332
  withCredentials?: boolean;
1333
+ keepalive?: boolean;
1279
1334
  transferCache?: {
1280
1335
  includeHeaders?: string[];
1281
1336
  } | boolean;
@@ -1298,6 +1353,7 @@ declare class HttpClient {
1298
1353
  reportProgress?: boolean;
1299
1354
  responseType: 'blob';
1300
1355
  withCredentials?: boolean;
1356
+ keepalive?: boolean;
1301
1357
  transferCache?: {
1302
1358
  includeHeaders?: string[];
1303
1359
  } | boolean;
@@ -1320,6 +1376,7 @@ declare class HttpClient {
1320
1376
  reportProgress?: boolean;
1321
1377
  responseType: 'text';
1322
1378
  withCredentials?: boolean;
1379
+ keepalive?: boolean;
1323
1380
  transferCache?: {
1324
1381
  includeHeaders?: string[];
1325
1382
  } | boolean;
@@ -1342,6 +1399,7 @@ declare class HttpClient {
1342
1399
  reportProgress?: boolean;
1343
1400
  responseType?: 'json';
1344
1401
  withCredentials?: boolean;
1402
+ keepalive?: boolean;
1345
1403
  transferCache?: {
1346
1404
  includeHeaders?: string[];
1347
1405
  } | boolean;
@@ -1364,6 +1422,7 @@ declare class HttpClient {
1364
1422
  reportProgress?: boolean;
1365
1423
  responseType?: 'json';
1366
1424
  withCredentials?: boolean;
1425
+ keepalive?: boolean;
1367
1426
  transferCache?: {
1368
1427
  includeHeaders?: string[];
1369
1428
  } | boolean;
@@ -1386,6 +1445,7 @@ declare class HttpClient {
1386
1445
  reportProgress?: boolean;
1387
1446
  responseType?: 'json';
1388
1447
  withCredentials?: boolean;
1448
+ keepalive?: boolean;
1389
1449
  transferCache?: {
1390
1450
  includeHeaders?: string[];
1391
1451
  } | boolean;
@@ -1408,6 +1468,7 @@ declare class HttpClient {
1408
1468
  reportProgress?: boolean;
1409
1469
  responseType?: 'json';
1410
1470
  withCredentials?: boolean;
1471
+ keepalive?: boolean;
1411
1472
  transferCache?: {
1412
1473
  includeHeaders?: string[];
1413
1474
  } | boolean;
@@ -1451,6 +1512,7 @@ declare class HttpClient {
1451
1512
  reportProgress?: boolean;
1452
1513
  responseType: 'arraybuffer';
1453
1514
  withCredentials?: boolean;
1515
+ keepalive?: boolean;
1454
1516
  }): Observable<ArrayBuffer>;
1455
1517
  /**
1456
1518
  * Constructs an `OPTIONS` request that interprets the body as a `Blob` and returns
@@ -1469,6 +1531,7 @@ declare class HttpClient {
1469
1531
  reportProgress?: boolean;
1470
1532
  responseType: 'blob';
1471
1533
  withCredentials?: boolean;
1534
+ keepalive?: boolean;
1472
1535
  }): Observable<Blob>;
1473
1536
  /**
1474
1537
  * Constructs an `OPTIONS` request that interprets the body as a text string and
@@ -1487,6 +1550,7 @@ declare class HttpClient {
1487
1550
  reportProgress?: boolean;
1488
1551
  responseType: 'text';
1489
1552
  withCredentials?: boolean;
1553
+ keepalive?: boolean;
1490
1554
  }): Observable<string>;
1491
1555
  /**
1492
1556
  * Constructs an `OPTIONS` request that interprets the body as an `ArrayBuffer`
@@ -1506,6 +1570,7 @@ declare class HttpClient {
1506
1570
  reportProgress?: boolean;
1507
1571
  responseType: 'arraybuffer';
1508
1572
  withCredentials?: boolean;
1573
+ keepalive?: boolean;
1509
1574
  }): Observable<HttpEvent<ArrayBuffer>>;
1510
1575
  /**
1511
1576
  * Constructs an `OPTIONS` request that interprets the body as a `Blob` and
@@ -1525,6 +1590,7 @@ declare class HttpClient {
1525
1590
  reportProgress?: boolean;
1526
1591
  responseType: 'blob';
1527
1592
  withCredentials?: boolean;
1593
+ keepalive?: boolean;
1528
1594
  }): Observable<HttpEvent<Blob>>;
1529
1595
  /**
1530
1596
  * Constructs an `OPTIONS` request that interprets the body as a text string
@@ -1544,6 +1610,7 @@ declare class HttpClient {
1544
1610
  reportProgress?: boolean;
1545
1611
  responseType: 'text';
1546
1612
  withCredentials?: boolean;
1613
+ keepalive?: boolean;
1547
1614
  }): Observable<HttpEvent<string>>;
1548
1615
  /**
1549
1616
  * Constructs an `OPTIONS` request that interprets the body as JSON
@@ -1563,6 +1630,7 @@ declare class HttpClient {
1563
1630
  reportProgress?: boolean;
1564
1631
  responseType?: 'json';
1565
1632
  withCredentials?: boolean;
1633
+ keepalive?: boolean;
1566
1634
  }): Observable<HttpEvent<Object>>;
1567
1635
  /**
1568
1636
  * Constructs an `OPTIONS` request that interprets the body as JSON and
@@ -1582,6 +1650,7 @@ declare class HttpClient {
1582
1650
  reportProgress?: boolean;
1583
1651
  responseType?: 'json';
1584
1652
  withCredentials?: boolean;
1653
+ keepalive?: boolean;
1585
1654
  }): Observable<HttpEvent<T>>;
1586
1655
  /**
1587
1656
  * Constructs an `OPTIONS` request that interprets the body as an `ArrayBuffer`
@@ -1601,6 +1670,7 @@ declare class HttpClient {
1601
1670
  reportProgress?: boolean;
1602
1671
  responseType: 'arraybuffer';
1603
1672
  withCredentials?: boolean;
1673
+ keepalive?: boolean;
1604
1674
  }): Observable<HttpResponse<ArrayBuffer>>;
1605
1675
  /**
1606
1676
  * Constructs an `OPTIONS` request that interprets the body as a `Blob`
@@ -1620,6 +1690,7 @@ declare class HttpClient {
1620
1690
  reportProgress?: boolean;
1621
1691
  responseType: 'blob';
1622
1692
  withCredentials?: boolean;
1693
+ keepalive?: boolean;
1623
1694
  }): Observable<HttpResponse<Blob>>;
1624
1695
  /**
1625
1696
  * Constructs an `OPTIONS` request that interprets the body as text stream
@@ -1639,6 +1710,7 @@ declare class HttpClient {
1639
1710
  reportProgress?: boolean;
1640
1711
  responseType: 'text';
1641
1712
  withCredentials?: boolean;
1713
+ keepalive?: boolean;
1642
1714
  }): Observable<HttpResponse<string>>;
1643
1715
  /**
1644
1716
  * Constructs an `OPTIONS` request that interprets the body as JSON
@@ -1658,6 +1730,7 @@ declare class HttpClient {
1658
1730
  reportProgress?: boolean;
1659
1731
  responseType?: 'json';
1660
1732
  withCredentials?: boolean;
1733
+ keepalive?: boolean;
1661
1734
  }): Observable<HttpResponse<Object>>;
1662
1735
  /**
1663
1736
  * Constructs an `OPTIONS` request that interprets the body as JSON and
@@ -1677,6 +1750,7 @@ declare class HttpClient {
1677
1750
  reportProgress?: boolean;
1678
1751
  responseType?: 'json';
1679
1752
  withCredentials?: boolean;
1753
+ keepalive?: boolean;
1680
1754
  }): Observable<HttpResponse<T>>;
1681
1755
  /**
1682
1756
 
@@ -1696,6 +1770,7 @@ declare class HttpClient {
1696
1770
  reportProgress?: boolean;
1697
1771
  responseType?: 'json';
1698
1772
  withCredentials?: boolean;
1773
+ keepalive?: boolean;
1699
1774
  }): Observable<Object>;
1700
1775
  /**
1701
1776
  * Constructs an `OPTIONS` request that interprets the body as JSON and returns the
@@ -1714,6 +1789,7 @@ declare class HttpClient {
1714
1789
  reportProgress?: boolean;
1715
1790
  responseType?: 'json';
1716
1791
  withCredentials?: boolean;
1792
+ keepalive?: boolean;
1717
1793
  }): Observable<T>;
1718
1794
  /**
1719
1795
  * Constructs a `PATCH` request that interprets the body as an `ArrayBuffer` and returns
@@ -1733,6 +1809,7 @@ declare class HttpClient {
1733
1809
  reportProgress?: boolean;
1734
1810
  responseType: 'arraybuffer';
1735
1811
  withCredentials?: boolean;
1812
+ keepalive?: boolean;
1736
1813
  }): Observable<ArrayBuffer>;
1737
1814
  /**
1738
1815
  * Constructs a `PATCH` request that interprets the body as a `Blob` and returns the response
@@ -1752,6 +1829,7 @@ declare class HttpClient {
1752
1829
  reportProgress?: boolean;
1753
1830
  responseType: 'blob';
1754
1831
  withCredentials?: boolean;
1832
+ keepalive?: boolean;
1755
1833
  }): Observable<Blob>;
1756
1834
  /**
1757
1835
  * Constructs a `PATCH` request that interprets the body as a text string and
@@ -1771,6 +1849,7 @@ declare class HttpClient {
1771
1849
  reportProgress?: boolean;
1772
1850
  responseType: 'text';
1773
1851
  withCredentials?: boolean;
1852
+ keepalive?: boolean;
1774
1853
  }): Observable<string>;
1775
1854
  /**
1776
1855
  * Constructs a `PATCH` request that interprets the body as an `ArrayBuffer` and
@@ -1791,6 +1870,7 @@ declare class HttpClient {
1791
1870
  reportProgress?: boolean;
1792
1871
  responseType: 'arraybuffer';
1793
1872
  withCredentials?: boolean;
1873
+ keepalive?: boolean;
1794
1874
  }): Observable<HttpEvent<ArrayBuffer>>;
1795
1875
  /**
1796
1876
  * Constructs a `PATCH` request that interprets the body as a `Blob`
@@ -1811,6 +1891,7 @@ declare class HttpClient {
1811
1891
  reportProgress?: boolean;
1812
1892
  responseType: 'blob';
1813
1893
  withCredentials?: boolean;
1894
+ keepalive?: boolean;
1814
1895
  }): Observable<HttpEvent<Blob>>;
1815
1896
  /**
1816
1897
  * Constructs a `PATCH` request that interprets the body as a text string and
@@ -1831,6 +1912,7 @@ declare class HttpClient {
1831
1912
  reportProgress?: boolean;
1832
1913
  responseType: 'text';
1833
1914
  withCredentials?: boolean;
1915
+ keepalive?: boolean;
1834
1916
  }): Observable<HttpEvent<string>>;
1835
1917
  /**
1836
1918
  * Constructs a `PATCH` request that interprets the body as JSON
@@ -1851,6 +1933,7 @@ declare class HttpClient {
1851
1933
  reportProgress?: boolean;
1852
1934
  responseType?: 'json';
1853
1935
  withCredentials?: boolean;
1936
+ keepalive?: boolean;
1854
1937
  }): Observable<HttpEvent<Object>>;
1855
1938
  /**
1856
1939
  * Constructs a `PATCH` request that interprets the body as JSON
@@ -1871,6 +1954,7 @@ declare class HttpClient {
1871
1954
  reportProgress?: boolean;
1872
1955
  responseType?: 'json';
1873
1956
  withCredentials?: boolean;
1957
+ keepalive?: boolean;
1874
1958
  }): Observable<HttpEvent<T>>;
1875
1959
  /**
1876
1960
  * Constructs a `PATCH` request that interprets the body as an `ArrayBuffer`
@@ -1891,6 +1975,7 @@ declare class HttpClient {
1891
1975
  reportProgress?: boolean;
1892
1976
  responseType: 'arraybuffer';
1893
1977
  withCredentials?: boolean;
1978
+ keepalive?: boolean;
1894
1979
  }): Observable<HttpResponse<ArrayBuffer>>;
1895
1980
  /**
1896
1981
  * Constructs a `PATCH` request that interprets the body as a `Blob` and returns the full
@@ -1911,6 +1996,7 @@ declare class HttpClient {
1911
1996
  reportProgress?: boolean;
1912
1997
  responseType: 'blob';
1913
1998
  withCredentials?: boolean;
1999
+ keepalive?: boolean;
1914
2000
  }): Observable<HttpResponse<Blob>>;
1915
2001
  /**
1916
2002
  * Constructs a `PATCH` request that interprets the body as a text stream and returns the
@@ -1931,6 +2017,7 @@ declare class HttpClient {
1931
2017
  reportProgress?: boolean;
1932
2018
  responseType: 'text';
1933
2019
  withCredentials?: boolean;
2020
+ keepalive?: boolean;
1934
2021
  }): Observable<HttpResponse<string>>;
1935
2022
  /**
1936
2023
  * Constructs a `PATCH` request that interprets the body as JSON
@@ -1951,6 +2038,7 @@ declare class HttpClient {
1951
2038
  reportProgress?: boolean;
1952
2039
  responseType?: 'json';
1953
2040
  withCredentials?: boolean;
2041
+ keepalive?: boolean;
1954
2042
  }): Observable<HttpResponse<Object>>;
1955
2043
  /**
1956
2044
  * Constructs a `PATCH` request that interprets the body as JSON
@@ -1971,6 +2059,7 @@ declare class HttpClient {
1971
2059
  reportProgress?: boolean;
1972
2060
  responseType?: 'json';
1973
2061
  withCredentials?: boolean;
2062
+ keepalive?: boolean;
1974
2063
  }): Observable<HttpResponse<T>>;
1975
2064
  /**
1976
2065
 
@@ -1991,6 +2080,7 @@ declare class HttpClient {
1991
2080
  reportProgress?: boolean;
1992
2081
  responseType?: 'json';
1993
2082
  withCredentials?: boolean;
2083
+ keepalive?: boolean;
1994
2084
  }): Observable<Object>;
1995
2085
  /**
1996
2086
  * Constructs a `PATCH` request that interprets the body as JSON
@@ -2011,6 +2101,7 @@ declare class HttpClient {
2011
2101
  reportProgress?: boolean;
2012
2102
  responseType?: 'json';
2013
2103
  withCredentials?: boolean;
2104
+ keepalive?: boolean;
2014
2105
  }): Observable<T>;
2015
2106
  /**
2016
2107
  * Constructs a `POST` request that interprets the body as an `ArrayBuffer` and returns
@@ -2030,6 +2121,7 @@ declare class HttpClient {
2030
2121
  reportProgress?: boolean;
2031
2122
  responseType: 'arraybuffer';
2032
2123
  withCredentials?: boolean;
2124
+ keepalive?: boolean;
2033
2125
  transferCache?: {
2034
2126
  includeHeaders?: string[];
2035
2127
  } | boolean;
@@ -2052,6 +2144,7 @@ declare class HttpClient {
2052
2144
  reportProgress?: boolean;
2053
2145
  responseType: 'blob';
2054
2146
  withCredentials?: boolean;
2147
+ keepalive?: boolean;
2055
2148
  transferCache?: {
2056
2149
  includeHeaders?: string[];
2057
2150
  } | boolean;
@@ -2074,6 +2167,7 @@ declare class HttpClient {
2074
2167
  reportProgress?: boolean;
2075
2168
  responseType: 'text';
2076
2169
  withCredentials?: boolean;
2170
+ keepalive?: boolean;
2077
2171
  transferCache?: {
2078
2172
  includeHeaders?: string[];
2079
2173
  } | boolean;
@@ -2097,6 +2191,7 @@ declare class HttpClient {
2097
2191
  reportProgress?: boolean;
2098
2192
  responseType: 'arraybuffer';
2099
2193
  withCredentials?: boolean;
2194
+ keepalive?: boolean;
2100
2195
  transferCache?: {
2101
2196
  includeHeaders?: string[];
2102
2197
  } | boolean;
@@ -2119,6 +2214,7 @@ declare class HttpClient {
2119
2214
  reportProgress?: boolean;
2120
2215
  responseType: 'blob';
2121
2216
  withCredentials?: boolean;
2217
+ keepalive?: boolean;
2122
2218
  transferCache?: {
2123
2219
  includeHeaders?: string[];
2124
2220
  } | boolean;
@@ -2142,6 +2238,7 @@ declare class HttpClient {
2142
2238
  reportProgress?: boolean;
2143
2239
  responseType: 'text';
2144
2240
  withCredentials?: boolean;
2241
+ keepalive?: boolean;
2145
2242
  transferCache?: {
2146
2243
  includeHeaders?: string[];
2147
2244
  } | boolean;
@@ -2165,6 +2262,7 @@ declare class HttpClient {
2165
2262
  reportProgress?: boolean;
2166
2263
  responseType?: 'json';
2167
2264
  withCredentials?: boolean;
2265
+ keepalive?: boolean;
2168
2266
  transferCache?: {
2169
2267
  includeHeaders?: string[];
2170
2268
  } | boolean;
@@ -2188,6 +2286,7 @@ declare class HttpClient {
2188
2286
  reportProgress?: boolean;
2189
2287
  responseType?: 'json';
2190
2288
  withCredentials?: boolean;
2289
+ keepalive?: boolean;
2191
2290
  transferCache?: {
2192
2291
  includeHeaders?: string[];
2193
2292
  } | boolean;
@@ -2211,6 +2310,7 @@ declare class HttpClient {
2211
2310
  reportProgress?: boolean;
2212
2311
  responseType: 'arraybuffer';
2213
2312
  withCredentials?: boolean;
2313
+ keepalive?: boolean;
2214
2314
  transferCache?: {
2215
2315
  includeHeaders?: string[];
2216
2316
  } | boolean;
@@ -2234,6 +2334,7 @@ declare class HttpClient {
2234
2334
  reportProgress?: boolean;
2235
2335
  responseType: 'blob';
2236
2336
  withCredentials?: boolean;
2337
+ keepalive?: boolean;
2237
2338
  transferCache?: {
2238
2339
  includeHeaders?: string[];
2239
2340
  } | boolean;
@@ -2257,6 +2358,7 @@ declare class HttpClient {
2257
2358
  reportProgress?: boolean;
2258
2359
  responseType: 'text';
2259
2360
  withCredentials?: boolean;
2361
+ keepalive?: boolean;
2260
2362
  transferCache?: {
2261
2363
  includeHeaders?: string[];
2262
2364
  } | boolean;
@@ -2280,6 +2382,7 @@ declare class HttpClient {
2280
2382
  reportProgress?: boolean;
2281
2383
  responseType?: 'json';
2282
2384
  withCredentials?: boolean;
2385
+ keepalive?: boolean;
2283
2386
  transferCache?: {
2284
2387
  includeHeaders?: string[];
2285
2388
  } | boolean;
@@ -2304,6 +2407,7 @@ declare class HttpClient {
2304
2407
  reportProgress?: boolean;
2305
2408
  responseType?: 'json';
2306
2409
  withCredentials?: boolean;
2410
+ keepalive?: boolean;
2307
2411
  transferCache?: {
2308
2412
  includeHeaders?: string[];
2309
2413
  } | boolean;
@@ -2326,6 +2430,7 @@ declare class HttpClient {
2326
2430
  reportProgress?: boolean;
2327
2431
  responseType?: 'json';
2328
2432
  withCredentials?: boolean;
2433
+ keepalive?: boolean;
2329
2434
  transferCache?: {
2330
2435
  includeHeaders?: string[];
2331
2436
  } | boolean;
@@ -2349,6 +2454,7 @@ declare class HttpClient {
2349
2454
  reportProgress?: boolean;
2350
2455
  responseType?: 'json';
2351
2456
  withCredentials?: boolean;
2457
+ keepalive?: boolean;
2352
2458
  transferCache?: {
2353
2459
  includeHeaders?: string[];
2354
2460
  } | boolean;
@@ -2371,6 +2477,7 @@ declare class HttpClient {
2371
2477
  reportProgress?: boolean;
2372
2478
  responseType: 'arraybuffer';
2373
2479
  withCredentials?: boolean;
2480
+ keepalive?: boolean;
2374
2481
  }): Observable<ArrayBuffer>;
2375
2482
  /**
2376
2483
  * Constructs a `PUT` request that interprets the body as a `Blob` and returns
@@ -2390,6 +2497,7 @@ declare class HttpClient {
2390
2497
  reportProgress?: boolean;
2391
2498
  responseType: 'blob';
2392
2499
  withCredentials?: boolean;
2500
+ keepalive?: boolean;
2393
2501
  }): Observable<Blob>;
2394
2502
  /**
2395
2503
  * Constructs a `PUT` request that interprets the body as a text string and
@@ -2409,6 +2517,7 @@ declare class HttpClient {
2409
2517
  reportProgress?: boolean;
2410
2518
  responseType: 'text';
2411
2519
  withCredentials?: boolean;
2520
+ keepalive?: boolean;
2412
2521
  }): Observable<string>;
2413
2522
  /**
2414
2523
  * Constructs a `PUT` request that interprets the body as an `ArrayBuffer` and
@@ -2429,6 +2538,7 @@ declare class HttpClient {
2429
2538
  reportProgress?: boolean;
2430
2539
  responseType: 'arraybuffer';
2431
2540
  withCredentials?: boolean;
2541
+ keepalive?: boolean;
2432
2542
  }): Observable<HttpEvent<ArrayBuffer>>;
2433
2543
  /**
2434
2544
  * Constructs a `PUT` request that interprets the body as a `Blob` and returns the full event
@@ -2449,6 +2559,7 @@ declare class HttpClient {
2449
2559
  reportProgress?: boolean;
2450
2560
  responseType: 'blob';
2451
2561
  withCredentials?: boolean;
2562
+ keepalive?: boolean;
2452
2563
  }): Observable<HttpEvent<Blob>>;
2453
2564
  /**
2454
2565
  * Constructs a `PUT` request that interprets the body as a text string and returns the full event
@@ -2469,6 +2580,7 @@ declare class HttpClient {
2469
2580
  reportProgress?: boolean;
2470
2581
  responseType: 'text';
2471
2582
  withCredentials?: boolean;
2583
+ keepalive?: boolean;
2472
2584
  }): Observable<HttpEvent<string>>;
2473
2585
  /**
2474
2586
  * Constructs a `PUT` request that interprets the body as JSON and returns the full
@@ -2489,6 +2601,7 @@ declare class HttpClient {
2489
2601
  reportProgress?: boolean;
2490
2602
  responseType?: 'json';
2491
2603
  withCredentials?: boolean;
2604
+ keepalive?: boolean;
2492
2605
  }): Observable<HttpEvent<Object>>;
2493
2606
  /**
2494
2607
  * Constructs a `PUT` request that interprets the body as JSON and returns the
@@ -2509,6 +2622,7 @@ declare class HttpClient {
2509
2622
  reportProgress?: boolean;
2510
2623
  responseType?: 'json';
2511
2624
  withCredentials?: boolean;
2625
+ keepalive?: boolean;
2512
2626
  }): Observable<HttpEvent<T>>;
2513
2627
  /**
2514
2628
  * Constructs a `PUT` request that interprets the body as an
@@ -2529,6 +2643,7 @@ declare class HttpClient {
2529
2643
  reportProgress?: boolean;
2530
2644
  responseType: 'arraybuffer';
2531
2645
  withCredentials?: boolean;
2646
+ keepalive?: boolean;
2532
2647
  }): Observable<HttpResponse<ArrayBuffer>>;
2533
2648
  /**
2534
2649
  * Constructs a `PUT` request that interprets the body as a `Blob` and returns the
@@ -2549,6 +2664,7 @@ declare class HttpClient {
2549
2664
  reportProgress?: boolean;
2550
2665
  responseType: 'blob';
2551
2666
  withCredentials?: boolean;
2667
+ keepalive?: boolean;
2552
2668
  }): Observable<HttpResponse<Blob>>;
2553
2669
  /**
2554
2670
  * Constructs a `PUT` request that interprets the body as a text stream and returns the
@@ -2569,6 +2685,7 @@ declare class HttpClient {
2569
2685
  reportProgress?: boolean;
2570
2686
  responseType: 'text';
2571
2687
  withCredentials?: boolean;
2688
+ keepalive?: boolean;
2572
2689
  }): Observable<HttpResponse<string>>;
2573
2690
  /**
2574
2691
  * Constructs a `PUT` request that interprets the body as JSON and returns the full
@@ -2589,6 +2706,7 @@ declare class HttpClient {
2589
2706
  reportProgress?: boolean;
2590
2707
  responseType?: 'json';
2591
2708
  withCredentials?: boolean;
2709
+ keepalive?: boolean;
2592
2710
  }): Observable<HttpResponse<Object>>;
2593
2711
  /**
2594
2712
  * Constructs a `PUT` request that interprets the body as an instance of the requested type and
@@ -2609,6 +2727,7 @@ declare class HttpClient {
2609
2727
  reportProgress?: boolean;
2610
2728
  responseType?: 'json';
2611
2729
  withCredentials?: boolean;
2730
+ keepalive?: boolean;
2612
2731
  }): Observable<HttpResponse<T>>;
2613
2732
  /**
2614
2733
  * Constructs a `PUT` request that interprets the body as JSON
@@ -2628,6 +2747,7 @@ declare class HttpClient {
2628
2747
  reportProgress?: boolean;
2629
2748
  responseType?: 'json';
2630
2749
  withCredentials?: boolean;
2750
+ keepalive?: boolean;
2631
2751
  }): Observable<Object>;
2632
2752
  /**
2633
2753
  * Constructs a `PUT` request that interprets the body as an instance of the requested type
@@ -2647,6 +2767,7 @@ declare class HttpClient {
2647
2767
  reportProgress?: boolean;
2648
2768
  responseType?: 'json';
2649
2769
  withCredentials?: boolean;
2770
+ keepalive?: boolean;
2650
2771
  }): Observable<T>;
2651
2772
  static ɵfac: i0.ɵɵFactoryDeclaration<HttpClient, never>;
2652
2773
  static ɵprov: i0.ɵɵInjectableDeclaration<HttpClient>;