@angular/common 20.2.0-next.0 → 20.2.0-next.1
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/common_module.d.d.ts +1 -1
- package/fesm2022/common.mjs +14 -14
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/common_module.mjs +86 -86
- package/fesm2022/http/testing.mjs +8 -8
- package/fesm2022/http.mjs +3 -1
- package/fesm2022/http.mjs.map +1 -1
- package/fesm2022/location.mjs +16 -16
- package/fesm2022/module.mjs +41 -40
- package/fesm2022/module.mjs.map +1 -1
- package/fesm2022/platform_navigation.mjs +4 -4
- package/fesm2022/testing.mjs +13 -13
- package/fesm2022/upgrade.mjs +5 -5
- package/fesm2022/xhr.mjs +1 -1
- package/http/index.d.ts +134 -1
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +1 -1
- package/module.d.d.ts +1 -1
- package/package.json +2 -2
- package/platform_location.d.d.ts +1 -1
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
- package/xhr.d.d.ts +1 -1
package/http/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.2.0-next.
|
|
2
|
+
* @license Angular v20.2.0-next.1
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -132,6 +132,7 @@ declare class HttpClient {
|
|
|
132
132
|
transferCache?: {
|
|
133
133
|
includeHeaders?: string[];
|
|
134
134
|
} | boolean;
|
|
135
|
+
timeout?: number;
|
|
135
136
|
}): Observable<ArrayBuffer>;
|
|
136
137
|
/**
|
|
137
138
|
* Constructs a request that interprets the body as a blob and returns
|
|
@@ -163,6 +164,7 @@ declare class HttpClient {
|
|
|
163
164
|
transferCache?: {
|
|
164
165
|
includeHeaders?: string[];
|
|
165
166
|
} | boolean;
|
|
167
|
+
timeout?: number;
|
|
166
168
|
}): Observable<Blob>;
|
|
167
169
|
/**
|
|
168
170
|
* Constructs a request that interprets the body as a text string and
|
|
@@ -194,6 +196,7 @@ declare class HttpClient {
|
|
|
194
196
|
transferCache?: {
|
|
195
197
|
includeHeaders?: string[];
|
|
196
198
|
} | boolean;
|
|
199
|
+
timeout?: number;
|
|
197
200
|
}): Observable<string>;
|
|
198
201
|
/**
|
|
199
202
|
* Constructs a request that interprets the body as an `ArrayBuffer` and returns the
|
|
@@ -226,6 +229,7 @@ declare class HttpClient {
|
|
|
226
229
|
transferCache?: {
|
|
227
230
|
includeHeaders?: string[];
|
|
228
231
|
} | boolean;
|
|
232
|
+
timeout?: number;
|
|
229
233
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
230
234
|
/**
|
|
231
235
|
* Constructs a request that interprets the body as a `Blob` and returns
|
|
@@ -258,6 +262,7 @@ declare class HttpClient {
|
|
|
258
262
|
transferCache?: {
|
|
259
263
|
includeHeaders?: string[];
|
|
260
264
|
} | boolean;
|
|
265
|
+
timeout?: number;
|
|
261
266
|
}): Observable<HttpEvent<Blob>>;
|
|
262
267
|
/**
|
|
263
268
|
* Constructs a request which interprets the body as a text string and returns the full event
|
|
@@ -290,6 +295,7 @@ declare class HttpClient {
|
|
|
290
295
|
transferCache?: {
|
|
291
296
|
includeHeaders?: string[];
|
|
292
297
|
} | boolean;
|
|
298
|
+
timeout?: number;
|
|
293
299
|
}): Observable<HttpEvent<string>>;
|
|
294
300
|
/**
|
|
295
301
|
* Constructs a request which interprets the body as a JavaScript object and returns the full
|
|
@@ -322,6 +328,7 @@ declare class HttpClient {
|
|
|
322
328
|
transferCache?: {
|
|
323
329
|
includeHeaders?: string[];
|
|
324
330
|
} | boolean;
|
|
331
|
+
timeout?: number;
|
|
325
332
|
}): Observable<HttpEvent<any>>;
|
|
326
333
|
/**
|
|
327
334
|
* Constructs a request which interprets the body as a JavaScript object and returns the full
|
|
@@ -354,6 +361,7 @@ declare class HttpClient {
|
|
|
354
361
|
transferCache?: {
|
|
355
362
|
includeHeaders?: string[];
|
|
356
363
|
} | boolean;
|
|
364
|
+
timeout?: number;
|
|
357
365
|
}): Observable<HttpEvent<R>>;
|
|
358
366
|
/**
|
|
359
367
|
* Constructs a request which interprets the body as an `ArrayBuffer`
|
|
@@ -385,6 +393,7 @@ declare class HttpClient {
|
|
|
385
393
|
transferCache?: {
|
|
386
394
|
includeHeaders?: string[];
|
|
387
395
|
} | boolean;
|
|
396
|
+
timeout?: number;
|
|
388
397
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
389
398
|
/**
|
|
390
399
|
* Constructs a request which interprets the body as a `Blob` and returns the full `HttpResponse`.
|
|
@@ -415,6 +424,7 @@ declare class HttpClient {
|
|
|
415
424
|
transferCache?: {
|
|
416
425
|
includeHeaders?: string[];
|
|
417
426
|
} | boolean;
|
|
427
|
+
timeout?: number;
|
|
418
428
|
}): Observable<HttpResponse<Blob>>;
|
|
419
429
|
/**
|
|
420
430
|
* Constructs a request which interprets the body as a text stream and returns the full
|
|
@@ -446,6 +456,7 @@ declare class HttpClient {
|
|
|
446
456
|
transferCache?: {
|
|
447
457
|
includeHeaders?: string[];
|
|
448
458
|
} | boolean;
|
|
459
|
+
timeout?: number;
|
|
449
460
|
}): Observable<HttpResponse<string>>;
|
|
450
461
|
/**
|
|
451
462
|
* Constructs a request which interprets the body as a JavaScript object and returns the full
|
|
@@ -475,6 +486,10 @@ declare class HttpClient {
|
|
|
475
486
|
redirect?: RequestRedirect;
|
|
476
487
|
referrer?: string;
|
|
477
488
|
integrity?: string;
|
|
489
|
+
transferCache?: {
|
|
490
|
+
includeHeaders?: string[];
|
|
491
|
+
} | boolean;
|
|
492
|
+
timeout?: number;
|
|
478
493
|
}): Observable<HttpResponse<Object>>;
|
|
479
494
|
/**
|
|
480
495
|
* Constructs a request which interprets the body as a JavaScript object and returns
|
|
@@ -537,6 +552,7 @@ declare class HttpClient {
|
|
|
537
552
|
transferCache?: {
|
|
538
553
|
includeHeaders?: string[];
|
|
539
554
|
} | boolean;
|
|
555
|
+
timeout?: number;
|
|
540
556
|
}): Observable<Object>;
|
|
541
557
|
/**
|
|
542
558
|
* Constructs a request which interprets the body as a JavaScript object
|
|
@@ -568,6 +584,7 @@ declare class HttpClient {
|
|
|
568
584
|
transferCache?: {
|
|
569
585
|
includeHeaders?: string[];
|
|
570
586
|
} | boolean;
|
|
587
|
+
timeout?: number;
|
|
571
588
|
}): Observable<R>;
|
|
572
589
|
/**
|
|
573
590
|
* Constructs a request where response type and requested observable are not known statically.
|
|
@@ -598,6 +615,7 @@ declare class HttpClient {
|
|
|
598
615
|
transferCache?: {
|
|
599
616
|
includeHeaders?: string[];
|
|
600
617
|
} | boolean;
|
|
618
|
+
timeout?: number;
|
|
601
619
|
}): Observable<any>;
|
|
602
620
|
/**
|
|
603
621
|
* Constructs a `DELETE` request that interprets the body as an `ArrayBuffer`
|
|
@@ -651,6 +669,7 @@ declare class HttpClient {
|
|
|
651
669
|
redirect?: RequestRedirect;
|
|
652
670
|
referrer?: string;
|
|
653
671
|
integrity?: string;
|
|
672
|
+
timeout?: number;
|
|
654
673
|
body?: any | null;
|
|
655
674
|
}): Observable<Blob>;
|
|
656
675
|
/**
|
|
@@ -678,6 +697,7 @@ declare class HttpClient {
|
|
|
678
697
|
redirect?: RequestRedirect;
|
|
679
698
|
referrer?: string;
|
|
680
699
|
integrity?: string;
|
|
700
|
+
timeout?: number;
|
|
681
701
|
body?: any | null;
|
|
682
702
|
}): Observable<string>;
|
|
683
703
|
/**
|
|
@@ -706,6 +726,7 @@ declare class HttpClient {
|
|
|
706
726
|
redirect?: RequestRedirect;
|
|
707
727
|
referrer?: string;
|
|
708
728
|
integrity?: string;
|
|
729
|
+
timeout?: number;
|
|
709
730
|
body?: any | null;
|
|
710
731
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
711
732
|
/**
|
|
@@ -734,6 +755,7 @@ declare class HttpClient {
|
|
|
734
755
|
redirect?: RequestRedirect;
|
|
735
756
|
referrer?: string;
|
|
736
757
|
integrity?: string;
|
|
758
|
+
timeout?: number;
|
|
737
759
|
body?: any | null;
|
|
738
760
|
}): Observable<HttpEvent<Blob>>;
|
|
739
761
|
/**
|
|
@@ -762,6 +784,7 @@ declare class HttpClient {
|
|
|
762
784
|
redirect?: RequestRedirect;
|
|
763
785
|
referrer?: string;
|
|
764
786
|
integrity?: string;
|
|
787
|
+
timeout?: number;
|
|
765
788
|
body?: any | null;
|
|
766
789
|
}): Observable<HttpEvent<string>>;
|
|
767
790
|
/**
|
|
@@ -790,6 +813,7 @@ declare class HttpClient {
|
|
|
790
813
|
redirect?: RequestRedirect;
|
|
791
814
|
referrer?: string;
|
|
792
815
|
integrity?: string;
|
|
816
|
+
timeout?: number;
|
|
793
817
|
body?: any | null;
|
|
794
818
|
}): Observable<HttpEvent<Object>>;
|
|
795
819
|
/**
|
|
@@ -818,6 +842,7 @@ declare class HttpClient {
|
|
|
818
842
|
redirect?: RequestRedirect;
|
|
819
843
|
referrer?: string;
|
|
820
844
|
integrity?: string;
|
|
845
|
+
timeout?: number;
|
|
821
846
|
body?: any | null;
|
|
822
847
|
}): Observable<HttpEvent<T>>;
|
|
823
848
|
/**
|
|
@@ -845,6 +870,7 @@ declare class HttpClient {
|
|
|
845
870
|
redirect?: RequestRedirect;
|
|
846
871
|
referrer?: string;
|
|
847
872
|
integrity?: string;
|
|
873
|
+
timeout?: number;
|
|
848
874
|
body?: any | null;
|
|
849
875
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
850
876
|
/**
|
|
@@ -872,6 +898,7 @@ declare class HttpClient {
|
|
|
872
898
|
redirect?: RequestRedirect;
|
|
873
899
|
referrer?: string;
|
|
874
900
|
integrity?: string;
|
|
901
|
+
timeout?: number;
|
|
875
902
|
body?: any | null;
|
|
876
903
|
}): Observable<HttpResponse<Blob>>;
|
|
877
904
|
/**
|
|
@@ -899,6 +926,7 @@ declare class HttpClient {
|
|
|
899
926
|
redirect?: RequestRedirect;
|
|
900
927
|
referrer?: string;
|
|
901
928
|
integrity?: string;
|
|
929
|
+
timeout?: number;
|
|
902
930
|
body?: any | null;
|
|
903
931
|
}): Observable<HttpResponse<string>>;
|
|
904
932
|
/**
|
|
@@ -927,6 +955,7 @@ declare class HttpClient {
|
|
|
927
955
|
redirect?: RequestRedirect;
|
|
928
956
|
referrer?: string;
|
|
929
957
|
integrity?: string;
|
|
958
|
+
timeout?: number;
|
|
930
959
|
body?: any | null;
|
|
931
960
|
}): Observable<HttpResponse<Object>>;
|
|
932
961
|
/**
|
|
@@ -954,6 +983,7 @@ declare class HttpClient {
|
|
|
954
983
|
redirect?: RequestRedirect;
|
|
955
984
|
referrer?: string;
|
|
956
985
|
integrity?: string;
|
|
986
|
+
timeout?: number;
|
|
957
987
|
body?: any | null;
|
|
958
988
|
}): Observable<HttpResponse<T>>;
|
|
959
989
|
/**
|
|
@@ -981,6 +1011,7 @@ declare class HttpClient {
|
|
|
981
1011
|
redirect?: RequestRedirect;
|
|
982
1012
|
referrer?: string;
|
|
983
1013
|
integrity?: string;
|
|
1014
|
+
timeout?: number;
|
|
984
1015
|
body?: any | null;
|
|
985
1016
|
}): Observable<Object>;
|
|
986
1017
|
/**
|
|
@@ -1008,6 +1039,7 @@ declare class HttpClient {
|
|
|
1008
1039
|
redirect?: RequestRedirect;
|
|
1009
1040
|
referrer?: string;
|
|
1010
1041
|
integrity?: string;
|
|
1042
|
+
timeout?: number;
|
|
1011
1043
|
body?: any | null;
|
|
1012
1044
|
}): Observable<T>;
|
|
1013
1045
|
/**
|
|
@@ -1038,6 +1070,7 @@ declare class HttpClient {
|
|
|
1038
1070
|
transferCache?: {
|
|
1039
1071
|
includeHeaders?: string[];
|
|
1040
1072
|
} | boolean;
|
|
1073
|
+
timeout?: number;
|
|
1041
1074
|
}): Observable<ArrayBuffer>;
|
|
1042
1075
|
/**
|
|
1043
1076
|
* Constructs a `GET` request that interprets the body as a `Blob`
|
|
@@ -1067,6 +1100,7 @@ declare class HttpClient {
|
|
|
1067
1100
|
transferCache?: {
|
|
1068
1101
|
includeHeaders?: string[];
|
|
1069
1102
|
} | boolean;
|
|
1103
|
+
timeout?: number;
|
|
1070
1104
|
}): Observable<Blob>;
|
|
1071
1105
|
/**
|
|
1072
1106
|
* Constructs a `GET` request that interprets the body as a text string
|
|
@@ -1096,6 +1130,7 @@ declare class HttpClient {
|
|
|
1096
1130
|
transferCache?: {
|
|
1097
1131
|
includeHeaders?: string[];
|
|
1098
1132
|
} | boolean;
|
|
1133
|
+
timeout?: number;
|
|
1099
1134
|
}): Observable<string>;
|
|
1100
1135
|
/**
|
|
1101
1136
|
* Constructs a `GET` request that interprets the body as an `ArrayBuffer` and returns
|
|
@@ -1126,6 +1161,7 @@ declare class HttpClient {
|
|
|
1126
1161
|
transferCache?: {
|
|
1127
1162
|
includeHeaders?: string[];
|
|
1128
1163
|
} | boolean;
|
|
1164
|
+
timeout?: number;
|
|
1129
1165
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
1130
1166
|
/**
|
|
1131
1167
|
* Constructs a `GET` request that interprets the body as a `Blob` and
|
|
@@ -1155,6 +1191,7 @@ declare class HttpClient {
|
|
|
1155
1191
|
transferCache?: {
|
|
1156
1192
|
includeHeaders?: string[];
|
|
1157
1193
|
} | boolean;
|
|
1194
|
+
timeout?: number;
|
|
1158
1195
|
}): Observable<HttpEvent<Blob>>;
|
|
1159
1196
|
/**
|
|
1160
1197
|
* Constructs a `GET` request that interprets the body as a text string and returns
|
|
@@ -1184,6 +1221,7 @@ declare class HttpClient {
|
|
|
1184
1221
|
transferCache?: {
|
|
1185
1222
|
includeHeaders?: string[];
|
|
1186
1223
|
} | boolean;
|
|
1224
|
+
timeout?: number;
|
|
1187
1225
|
}): Observable<HttpEvent<string>>;
|
|
1188
1226
|
/**
|
|
1189
1227
|
* Constructs a `GET` request that interprets the body as JSON
|
|
@@ -1213,6 +1251,7 @@ declare class HttpClient {
|
|
|
1213
1251
|
transferCache?: {
|
|
1214
1252
|
includeHeaders?: string[];
|
|
1215
1253
|
} | boolean;
|
|
1254
|
+
timeout?: number;
|
|
1216
1255
|
}): Observable<HttpEvent<Object>>;
|
|
1217
1256
|
/**
|
|
1218
1257
|
* Constructs a `GET` request that interprets the body as JSON and returns the full
|
|
@@ -1242,6 +1281,7 @@ declare class HttpClient {
|
|
|
1242
1281
|
transferCache?: {
|
|
1243
1282
|
includeHeaders?: string[];
|
|
1244
1283
|
} | boolean;
|
|
1284
|
+
timeout?: number;
|
|
1245
1285
|
}): Observable<HttpEvent<T>>;
|
|
1246
1286
|
/**
|
|
1247
1287
|
* Constructs a `GET` request that interprets the body as an `ArrayBuffer` and
|
|
@@ -1272,6 +1312,7 @@ declare class HttpClient {
|
|
|
1272
1312
|
transferCache?: {
|
|
1273
1313
|
includeHeaders?: string[];
|
|
1274
1314
|
} | boolean;
|
|
1315
|
+
timeout?: number;
|
|
1275
1316
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
1276
1317
|
/**
|
|
1277
1318
|
* Constructs a `GET` request that interprets the body as a `Blob` and
|
|
@@ -1302,6 +1343,7 @@ declare class HttpClient {
|
|
|
1302
1343
|
transferCache?: {
|
|
1303
1344
|
includeHeaders?: string[];
|
|
1304
1345
|
} | boolean;
|
|
1346
|
+
timeout?: number;
|
|
1305
1347
|
}): Observable<HttpResponse<Blob>>;
|
|
1306
1348
|
/**
|
|
1307
1349
|
* Constructs a `GET` request that interprets the body as a text stream and
|
|
@@ -1332,6 +1374,7 @@ declare class HttpClient {
|
|
|
1332
1374
|
transferCache?: {
|
|
1333
1375
|
includeHeaders?: string[];
|
|
1334
1376
|
} | boolean;
|
|
1377
|
+
timeout?: number;
|
|
1335
1378
|
}): Observable<HttpResponse<string>>;
|
|
1336
1379
|
/**
|
|
1337
1380
|
* Constructs a `GET` request that interprets the body as JSON and
|
|
@@ -1362,6 +1405,7 @@ declare class HttpClient {
|
|
|
1362
1405
|
transferCache?: {
|
|
1363
1406
|
includeHeaders?: string[];
|
|
1364
1407
|
} | boolean;
|
|
1408
|
+
timeout?: number;
|
|
1365
1409
|
}): Observable<HttpResponse<Object>>;
|
|
1366
1410
|
/**
|
|
1367
1411
|
* Constructs a `GET` request that interprets the body as JSON and
|
|
@@ -1392,6 +1436,7 @@ declare class HttpClient {
|
|
|
1392
1436
|
transferCache?: {
|
|
1393
1437
|
includeHeaders?: string[];
|
|
1394
1438
|
} | boolean;
|
|
1439
|
+
timeout?: number;
|
|
1395
1440
|
}): Observable<HttpResponse<T>>;
|
|
1396
1441
|
/**
|
|
1397
1442
|
* Constructs a `GET` request that interprets the body as JSON and
|
|
@@ -1422,6 +1467,7 @@ declare class HttpClient {
|
|
|
1422
1467
|
transferCache?: {
|
|
1423
1468
|
includeHeaders?: string[];
|
|
1424
1469
|
} | boolean;
|
|
1470
|
+
timeout?: number;
|
|
1425
1471
|
}): Observable<Object>;
|
|
1426
1472
|
/**
|
|
1427
1473
|
* Constructs a `GET` request that interprets the body as JSON and returns
|
|
@@ -1451,6 +1497,7 @@ declare class HttpClient {
|
|
|
1451
1497
|
transferCache?: {
|
|
1452
1498
|
includeHeaders?: string[];
|
|
1453
1499
|
} | boolean;
|
|
1500
|
+
timeout?: number;
|
|
1454
1501
|
}): Observable<T>;
|
|
1455
1502
|
/**
|
|
1456
1503
|
* Constructs a `HEAD` request that interprets the body as an `ArrayBuffer` and
|
|
@@ -1480,6 +1527,7 @@ declare class HttpClient {
|
|
|
1480
1527
|
transferCache?: {
|
|
1481
1528
|
includeHeaders?: string[];
|
|
1482
1529
|
} | boolean;
|
|
1530
|
+
timeout?: number;
|
|
1483
1531
|
}): Observable<ArrayBuffer>;
|
|
1484
1532
|
/**
|
|
1485
1533
|
* Constructs a `HEAD` request that interprets the body as a `Blob` and returns
|
|
@@ -1509,6 +1557,7 @@ declare class HttpClient {
|
|
|
1509
1557
|
transferCache?: {
|
|
1510
1558
|
includeHeaders?: string[];
|
|
1511
1559
|
} | boolean;
|
|
1560
|
+
timeout?: number;
|
|
1512
1561
|
}): Observable<Blob>;
|
|
1513
1562
|
/**
|
|
1514
1563
|
* Constructs a `HEAD` request that interprets the body as a text string and returns the response
|
|
@@ -1538,6 +1587,7 @@ declare class HttpClient {
|
|
|
1538
1587
|
transferCache?: {
|
|
1539
1588
|
includeHeaders?: string[];
|
|
1540
1589
|
} | boolean;
|
|
1590
|
+
timeout?: number;
|
|
1541
1591
|
}): Observable<string>;
|
|
1542
1592
|
/**
|
|
1543
1593
|
* Constructs a `HEAD` request that interprets the body as an `ArrayBuffer`
|
|
@@ -1568,6 +1618,7 @@ declare class HttpClient {
|
|
|
1568
1618
|
transferCache?: {
|
|
1569
1619
|
includeHeaders?: string[];
|
|
1570
1620
|
} | boolean;
|
|
1621
|
+
timeout?: number;
|
|
1571
1622
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
1572
1623
|
/**
|
|
1573
1624
|
* Constructs a `HEAD` request that interprets the body as a `Blob` and
|
|
@@ -1598,6 +1649,7 @@ declare class HttpClient {
|
|
|
1598
1649
|
transferCache?: {
|
|
1599
1650
|
includeHeaders?: string[];
|
|
1600
1651
|
} | boolean;
|
|
1652
|
+
timeout?: number;
|
|
1601
1653
|
}): Observable<HttpEvent<Blob>>;
|
|
1602
1654
|
/**
|
|
1603
1655
|
* Constructs a `HEAD` request that interprets the body as a text string
|
|
@@ -1628,6 +1680,7 @@ declare class HttpClient {
|
|
|
1628
1680
|
transferCache?: {
|
|
1629
1681
|
includeHeaders?: string[];
|
|
1630
1682
|
} | boolean;
|
|
1683
|
+
timeout?: number;
|
|
1631
1684
|
}): Observable<HttpEvent<string>>;
|
|
1632
1685
|
/**
|
|
1633
1686
|
* Constructs a `HEAD` request that interprets the body as JSON
|
|
@@ -1658,6 +1711,7 @@ declare class HttpClient {
|
|
|
1658
1711
|
transferCache?: {
|
|
1659
1712
|
includeHeaders?: string[];
|
|
1660
1713
|
} | boolean;
|
|
1714
|
+
timeout?: number;
|
|
1661
1715
|
}): Observable<HttpEvent<Object>>;
|
|
1662
1716
|
/**
|
|
1663
1717
|
* Constructs a `HEAD` request that interprets the body as JSON and
|
|
@@ -1688,6 +1742,7 @@ declare class HttpClient {
|
|
|
1688
1742
|
transferCache?: {
|
|
1689
1743
|
includeHeaders?: string[];
|
|
1690
1744
|
} | boolean;
|
|
1745
|
+
timeout?: number;
|
|
1691
1746
|
}): Observable<HttpEvent<T>>;
|
|
1692
1747
|
/**
|
|
1693
1748
|
* Constructs a `HEAD` request that interprets the body as an `ArrayBuffer`
|
|
@@ -1718,6 +1773,7 @@ declare class HttpClient {
|
|
|
1718
1773
|
transferCache?: {
|
|
1719
1774
|
includeHeaders?: string[];
|
|
1720
1775
|
} | boolean;
|
|
1776
|
+
timeout?: number;
|
|
1721
1777
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
1722
1778
|
/**
|
|
1723
1779
|
* Constructs a `HEAD` request that interprets the body as a `Blob` and returns
|
|
@@ -1748,6 +1804,7 @@ declare class HttpClient {
|
|
|
1748
1804
|
transferCache?: {
|
|
1749
1805
|
includeHeaders?: string[];
|
|
1750
1806
|
} | boolean;
|
|
1807
|
+
timeout?: number;
|
|
1751
1808
|
}): Observable<HttpResponse<Blob>>;
|
|
1752
1809
|
/**
|
|
1753
1810
|
* Constructs a `HEAD` request that interprets the body as text stream
|
|
@@ -1778,6 +1835,7 @@ declare class HttpClient {
|
|
|
1778
1835
|
transferCache?: {
|
|
1779
1836
|
includeHeaders?: string[];
|
|
1780
1837
|
} | boolean;
|
|
1838
|
+
timeout?: number;
|
|
1781
1839
|
}): Observable<HttpResponse<string>>;
|
|
1782
1840
|
/**
|
|
1783
1841
|
* Constructs a `HEAD` request that interprets the body as JSON and
|
|
@@ -1808,6 +1866,7 @@ declare class HttpClient {
|
|
|
1808
1866
|
transferCache?: {
|
|
1809
1867
|
includeHeaders?: string[];
|
|
1810
1868
|
} | boolean;
|
|
1869
|
+
timeout?: number;
|
|
1811
1870
|
}): Observable<HttpResponse<Object>>;
|
|
1812
1871
|
/**
|
|
1813
1872
|
* Constructs a `HEAD` request that interprets the body as JSON
|
|
@@ -1838,6 +1897,7 @@ declare class HttpClient {
|
|
|
1838
1897
|
transferCache?: {
|
|
1839
1898
|
includeHeaders?: string[];
|
|
1840
1899
|
} | boolean;
|
|
1900
|
+
timeout?: number;
|
|
1841
1901
|
}): Observable<HttpResponse<T>>;
|
|
1842
1902
|
/**
|
|
1843
1903
|
|
|
@@ -1868,6 +1928,7 @@ declare class HttpClient {
|
|
|
1868
1928
|
transferCache?: {
|
|
1869
1929
|
includeHeaders?: string[];
|
|
1870
1930
|
} | boolean;
|
|
1931
|
+
timeout?: number;
|
|
1871
1932
|
}): Observable<Object>;
|
|
1872
1933
|
/**
|
|
1873
1934
|
* Constructs a `HEAD` request that interprets the body as JSON and returns
|
|
@@ -1898,6 +1959,7 @@ declare class HttpClient {
|
|
|
1898
1959
|
transferCache?: {
|
|
1899
1960
|
includeHeaders?: string[];
|
|
1900
1961
|
} | boolean;
|
|
1962
|
+
timeout?: number;
|
|
1901
1963
|
}): Observable<T>;
|
|
1902
1964
|
/**
|
|
1903
1965
|
* Constructs a `JSONP` request for the given URL and name of the callback parameter.
|
|
@@ -1946,6 +2008,7 @@ declare class HttpClient {
|
|
|
1946
2008
|
redirect?: RequestRedirect;
|
|
1947
2009
|
referrer?: string;
|
|
1948
2010
|
integrity?: string;
|
|
2011
|
+
timeout?: number;
|
|
1949
2012
|
}): Observable<ArrayBuffer>;
|
|
1950
2013
|
/**
|
|
1951
2014
|
* Constructs an `OPTIONS` request that interprets the body as a `Blob` and returns
|
|
@@ -1972,6 +2035,7 @@ declare class HttpClient {
|
|
|
1972
2035
|
redirect?: RequestRedirect;
|
|
1973
2036
|
referrer?: string;
|
|
1974
2037
|
integrity?: string;
|
|
2038
|
+
timeout?: number;
|
|
1975
2039
|
}): Observable<Blob>;
|
|
1976
2040
|
/**
|
|
1977
2041
|
* Constructs an `OPTIONS` request that interprets the body as a text string and
|
|
@@ -1998,6 +2062,7 @@ declare class HttpClient {
|
|
|
1998
2062
|
redirect?: RequestRedirect;
|
|
1999
2063
|
referrer?: string;
|
|
2000
2064
|
integrity?: string;
|
|
2065
|
+
timeout?: number;
|
|
2001
2066
|
}): Observable<string>;
|
|
2002
2067
|
/**
|
|
2003
2068
|
* Constructs an `OPTIONS` request that interprets the body as an `ArrayBuffer`
|
|
@@ -2025,6 +2090,7 @@ declare class HttpClient {
|
|
|
2025
2090
|
redirect?: RequestRedirect;
|
|
2026
2091
|
referrer?: string;
|
|
2027
2092
|
integrity?: string;
|
|
2093
|
+
timeout?: number;
|
|
2028
2094
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
2029
2095
|
/**
|
|
2030
2096
|
* Constructs an `OPTIONS` request that interprets the body as a `Blob` and
|
|
@@ -2052,6 +2118,7 @@ declare class HttpClient {
|
|
|
2052
2118
|
redirect?: RequestRedirect;
|
|
2053
2119
|
referrer?: string;
|
|
2054
2120
|
integrity?: string;
|
|
2121
|
+
timeout?: number;
|
|
2055
2122
|
}): Observable<HttpEvent<Blob>>;
|
|
2056
2123
|
/**
|
|
2057
2124
|
* Constructs an `OPTIONS` request that interprets the body as a text string
|
|
@@ -2079,6 +2146,7 @@ declare class HttpClient {
|
|
|
2079
2146
|
redirect?: RequestRedirect;
|
|
2080
2147
|
referrer?: string;
|
|
2081
2148
|
integrity?: string;
|
|
2149
|
+
timeout?: number;
|
|
2082
2150
|
}): Observable<HttpEvent<string>>;
|
|
2083
2151
|
/**
|
|
2084
2152
|
* Constructs an `OPTIONS` request that interprets the body as JSON
|
|
@@ -2106,6 +2174,7 @@ declare class HttpClient {
|
|
|
2106
2174
|
redirect?: RequestRedirect;
|
|
2107
2175
|
referrer?: string;
|
|
2108
2176
|
integrity?: string;
|
|
2177
|
+
timeout?: number;
|
|
2109
2178
|
}): Observable<HttpEvent<Object>>;
|
|
2110
2179
|
/**
|
|
2111
2180
|
* Constructs an `OPTIONS` request that interprets the body as JSON and
|
|
@@ -2133,6 +2202,7 @@ declare class HttpClient {
|
|
|
2133
2202
|
redirect?: RequestRedirect;
|
|
2134
2203
|
referrer?: string;
|
|
2135
2204
|
integrity?: string;
|
|
2205
|
+
timeout?: number;
|
|
2136
2206
|
}): Observable<HttpEvent<T>>;
|
|
2137
2207
|
/**
|
|
2138
2208
|
* Constructs an `OPTIONS` request that interprets the body as an `ArrayBuffer`
|
|
@@ -2160,6 +2230,7 @@ declare class HttpClient {
|
|
|
2160
2230
|
redirect?: RequestRedirect;
|
|
2161
2231
|
referrer?: string;
|
|
2162
2232
|
integrity?: string;
|
|
2233
|
+
timeout?: number;
|
|
2163
2234
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
2164
2235
|
/**
|
|
2165
2236
|
* Constructs an `OPTIONS` request that interprets the body as a `Blob`
|
|
@@ -2187,6 +2258,7 @@ declare class HttpClient {
|
|
|
2187
2258
|
redirect?: RequestRedirect;
|
|
2188
2259
|
referrer?: string;
|
|
2189
2260
|
integrity?: string;
|
|
2261
|
+
timeout?: number;
|
|
2190
2262
|
}): Observable<HttpResponse<Blob>>;
|
|
2191
2263
|
/**
|
|
2192
2264
|
* Constructs an `OPTIONS` request that interprets the body as text stream
|
|
@@ -2214,6 +2286,7 @@ declare class HttpClient {
|
|
|
2214
2286
|
redirect?: RequestRedirect;
|
|
2215
2287
|
referrer?: string;
|
|
2216
2288
|
integrity?: string;
|
|
2289
|
+
timeout?: number;
|
|
2217
2290
|
}): Observable<HttpResponse<string>>;
|
|
2218
2291
|
/**
|
|
2219
2292
|
* Constructs an `OPTIONS` request that interprets the body as JSON
|
|
@@ -2241,6 +2314,7 @@ declare class HttpClient {
|
|
|
2241
2314
|
redirect?: RequestRedirect;
|
|
2242
2315
|
referrer?: string;
|
|
2243
2316
|
integrity?: string;
|
|
2317
|
+
timeout?: number;
|
|
2244
2318
|
}): Observable<HttpResponse<Object>>;
|
|
2245
2319
|
/**
|
|
2246
2320
|
* Constructs an `OPTIONS` request that interprets the body as JSON and
|
|
@@ -2268,6 +2342,7 @@ declare class HttpClient {
|
|
|
2268
2342
|
redirect?: RequestRedirect;
|
|
2269
2343
|
referrer?: string;
|
|
2270
2344
|
integrity?: string;
|
|
2345
|
+
timeout?: number;
|
|
2271
2346
|
}): Observable<HttpResponse<T>>;
|
|
2272
2347
|
/**
|
|
2273
2348
|
|
|
@@ -2295,6 +2370,7 @@ declare class HttpClient {
|
|
|
2295
2370
|
redirect?: RequestRedirect;
|
|
2296
2371
|
referrer?: string;
|
|
2297
2372
|
integrity?: string;
|
|
2373
|
+
timeout?: number;
|
|
2298
2374
|
}): Observable<Object>;
|
|
2299
2375
|
/**
|
|
2300
2376
|
* Constructs an `OPTIONS` request that interprets the body as JSON and returns the
|
|
@@ -2321,6 +2397,7 @@ declare class HttpClient {
|
|
|
2321
2397
|
redirect?: RequestRedirect;
|
|
2322
2398
|
referrer?: string;
|
|
2323
2399
|
integrity?: string;
|
|
2400
|
+
timeout?: number;
|
|
2324
2401
|
}): Observable<T>;
|
|
2325
2402
|
/**
|
|
2326
2403
|
* Constructs a `PATCH` request that interprets the body as an `ArrayBuffer` and returns
|
|
@@ -2348,6 +2425,7 @@ declare class HttpClient {
|
|
|
2348
2425
|
redirect?: RequestRedirect;
|
|
2349
2426
|
referrer?: string;
|
|
2350
2427
|
integrity?: string;
|
|
2428
|
+
timeout?: number;
|
|
2351
2429
|
}): Observable<ArrayBuffer>;
|
|
2352
2430
|
/**
|
|
2353
2431
|
* Constructs a `PATCH` request that interprets the body as a `Blob` and returns the response
|
|
@@ -2375,6 +2453,7 @@ declare class HttpClient {
|
|
|
2375
2453
|
redirect?: RequestRedirect;
|
|
2376
2454
|
referrer?: string;
|
|
2377
2455
|
integrity?: string;
|
|
2456
|
+
timeout?: number;
|
|
2378
2457
|
}): Observable<Blob>;
|
|
2379
2458
|
/**
|
|
2380
2459
|
* Constructs a `PATCH` request that interprets the body as a text string and
|
|
@@ -2402,6 +2481,7 @@ declare class HttpClient {
|
|
|
2402
2481
|
redirect?: RequestRedirect;
|
|
2403
2482
|
referrer?: string;
|
|
2404
2483
|
integrity?: string;
|
|
2484
|
+
timeout?: number;
|
|
2405
2485
|
}): Observable<string>;
|
|
2406
2486
|
/**
|
|
2407
2487
|
* Constructs a `PATCH` request that interprets the body as an `ArrayBuffer` and
|
|
@@ -2430,6 +2510,7 @@ declare class HttpClient {
|
|
|
2430
2510
|
redirect?: RequestRedirect;
|
|
2431
2511
|
referrer?: string;
|
|
2432
2512
|
integrity?: string;
|
|
2513
|
+
timeout?: number;
|
|
2433
2514
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
2434
2515
|
/**
|
|
2435
2516
|
* Constructs a `PATCH` request that interprets the body as a `Blob`
|
|
@@ -2458,6 +2539,7 @@ declare class HttpClient {
|
|
|
2458
2539
|
redirect?: RequestRedirect;
|
|
2459
2540
|
referrer?: string;
|
|
2460
2541
|
integrity?: string;
|
|
2542
|
+
timeout?: number;
|
|
2461
2543
|
}): Observable<HttpEvent<Blob>>;
|
|
2462
2544
|
/**
|
|
2463
2545
|
* Constructs a `PATCH` request that interprets the body as a text string and
|
|
@@ -2486,6 +2568,7 @@ declare class HttpClient {
|
|
|
2486
2568
|
redirect?: RequestRedirect;
|
|
2487
2569
|
referrer?: string;
|
|
2488
2570
|
integrity?: string;
|
|
2571
|
+
timeout?: number;
|
|
2489
2572
|
}): Observable<HttpEvent<string>>;
|
|
2490
2573
|
/**
|
|
2491
2574
|
* Constructs a `PATCH` request that interprets the body as JSON
|
|
@@ -2514,6 +2597,7 @@ declare class HttpClient {
|
|
|
2514
2597
|
redirect?: RequestRedirect;
|
|
2515
2598
|
referrer?: string;
|
|
2516
2599
|
integrity?: string;
|
|
2600
|
+
timeout?: number;
|
|
2517
2601
|
}): Observable<HttpEvent<Object>>;
|
|
2518
2602
|
/**
|
|
2519
2603
|
* Constructs a `PATCH` request that interprets the body as JSON
|
|
@@ -2542,6 +2626,7 @@ declare class HttpClient {
|
|
|
2542
2626
|
redirect?: RequestRedirect;
|
|
2543
2627
|
referrer?: string;
|
|
2544
2628
|
integrity?: string;
|
|
2629
|
+
timeout?: number;
|
|
2545
2630
|
}): Observable<HttpEvent<T>>;
|
|
2546
2631
|
/**
|
|
2547
2632
|
* Constructs a `PATCH` request that interprets the body as an `ArrayBuffer`
|
|
@@ -2570,6 +2655,7 @@ declare class HttpClient {
|
|
|
2570
2655
|
redirect?: RequestRedirect;
|
|
2571
2656
|
referrer?: string;
|
|
2572
2657
|
integrity?: string;
|
|
2658
|
+
timeout?: number;
|
|
2573
2659
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
2574
2660
|
/**
|
|
2575
2661
|
* Constructs a `PATCH` request that interprets the body as a `Blob` and returns the full
|
|
@@ -2598,6 +2684,7 @@ declare class HttpClient {
|
|
|
2598
2684
|
redirect?: RequestRedirect;
|
|
2599
2685
|
referrer?: string;
|
|
2600
2686
|
integrity?: string;
|
|
2687
|
+
timeout?: number;
|
|
2601
2688
|
}): Observable<HttpResponse<Blob>>;
|
|
2602
2689
|
/**
|
|
2603
2690
|
* Constructs a `PATCH` request that interprets the body as a text stream and returns the
|
|
@@ -2626,6 +2713,7 @@ declare class HttpClient {
|
|
|
2626
2713
|
redirect?: RequestRedirect;
|
|
2627
2714
|
referrer?: string;
|
|
2628
2715
|
integrity?: string;
|
|
2716
|
+
timeout?: number;
|
|
2629
2717
|
}): Observable<HttpResponse<string>>;
|
|
2630
2718
|
/**
|
|
2631
2719
|
* Constructs a `PATCH` request that interprets the body as JSON
|
|
@@ -2654,6 +2742,7 @@ declare class HttpClient {
|
|
|
2654
2742
|
redirect?: RequestRedirect;
|
|
2655
2743
|
referrer?: string;
|
|
2656
2744
|
integrity?: string;
|
|
2745
|
+
timeout?: number;
|
|
2657
2746
|
}): Observable<HttpResponse<Object>>;
|
|
2658
2747
|
/**
|
|
2659
2748
|
* Constructs a `PATCH` request that interprets the body as JSON
|
|
@@ -2682,6 +2771,7 @@ declare class HttpClient {
|
|
|
2682
2771
|
redirect?: RequestRedirect;
|
|
2683
2772
|
referrer?: string;
|
|
2684
2773
|
integrity?: string;
|
|
2774
|
+
timeout?: number;
|
|
2685
2775
|
}): Observable<HttpResponse<T>>;
|
|
2686
2776
|
/**
|
|
2687
2777
|
|
|
@@ -2710,6 +2800,7 @@ declare class HttpClient {
|
|
|
2710
2800
|
redirect?: RequestRedirect;
|
|
2711
2801
|
referrer?: string;
|
|
2712
2802
|
integrity?: string;
|
|
2803
|
+
timeout?: number;
|
|
2713
2804
|
}): Observable<Object>;
|
|
2714
2805
|
/**
|
|
2715
2806
|
* Constructs a `PATCH` request that interprets the body as JSON
|
|
@@ -2738,6 +2829,7 @@ declare class HttpClient {
|
|
|
2738
2829
|
redirect?: RequestRedirect;
|
|
2739
2830
|
referrer?: string;
|
|
2740
2831
|
integrity?: string;
|
|
2832
|
+
timeout?: number;
|
|
2741
2833
|
}): Observable<T>;
|
|
2742
2834
|
/**
|
|
2743
2835
|
* Constructs a `POST` request that interprets the body as an `ArrayBuffer` and returns
|
|
@@ -2768,6 +2860,7 @@ declare class HttpClient {
|
|
|
2768
2860
|
transferCache?: {
|
|
2769
2861
|
includeHeaders?: string[];
|
|
2770
2862
|
} | boolean;
|
|
2863
|
+
timeout?: number;
|
|
2771
2864
|
}): Observable<ArrayBuffer>;
|
|
2772
2865
|
/**
|
|
2773
2866
|
* Constructs a `POST` request that interprets the body as a `Blob` and returns the
|
|
@@ -2798,6 +2891,7 @@ declare class HttpClient {
|
|
|
2798
2891
|
transferCache?: {
|
|
2799
2892
|
includeHeaders?: string[];
|
|
2800
2893
|
} | boolean;
|
|
2894
|
+
timeout?: number;
|
|
2801
2895
|
}): Observable<Blob>;
|
|
2802
2896
|
/**
|
|
2803
2897
|
* Constructs a `POST` request that interprets the body as a text string and
|
|
@@ -2828,6 +2922,7 @@ declare class HttpClient {
|
|
|
2828
2922
|
transferCache?: {
|
|
2829
2923
|
includeHeaders?: string[];
|
|
2830
2924
|
} | boolean;
|
|
2925
|
+
timeout?: number;
|
|
2831
2926
|
}): Observable<string>;
|
|
2832
2927
|
/**
|
|
2833
2928
|
* Constructs a `POST` request that interprets the body as an `ArrayBuffer` and
|
|
@@ -2859,6 +2954,7 @@ declare class HttpClient {
|
|
|
2859
2954
|
transferCache?: {
|
|
2860
2955
|
includeHeaders?: string[];
|
|
2861
2956
|
} | boolean;
|
|
2957
|
+
timeout?: number;
|
|
2862
2958
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
2863
2959
|
/**
|
|
2864
2960
|
* Constructs a `POST` request that interprets the body as a `Blob`
|
|
@@ -2889,6 +2985,7 @@ declare class HttpClient {
|
|
|
2889
2985
|
transferCache?: {
|
|
2890
2986
|
includeHeaders?: string[];
|
|
2891
2987
|
} | boolean;
|
|
2988
|
+
timeout?: number;
|
|
2892
2989
|
}): Observable<HttpEvent<Blob>>;
|
|
2893
2990
|
/**
|
|
2894
2991
|
* Constructs a `POST` request that interprets the body as a text string and returns the full
|
|
@@ -2920,6 +3017,7 @@ declare class HttpClient {
|
|
|
2920
3017
|
transferCache?: {
|
|
2921
3018
|
includeHeaders?: string[];
|
|
2922
3019
|
} | boolean;
|
|
3020
|
+
timeout?: number;
|
|
2923
3021
|
}): Observable<HttpEvent<string>>;
|
|
2924
3022
|
/**
|
|
2925
3023
|
* Constructs a POST request that interprets the body as JSON and returns the full
|
|
@@ -2951,6 +3049,7 @@ declare class HttpClient {
|
|
|
2951
3049
|
transferCache?: {
|
|
2952
3050
|
includeHeaders?: string[];
|
|
2953
3051
|
} | boolean;
|
|
3052
|
+
timeout?: number;
|
|
2954
3053
|
}): Observable<HttpEvent<Object>>;
|
|
2955
3054
|
/**
|
|
2956
3055
|
* Constructs a POST request that interprets the body as JSON and returns the full
|
|
@@ -2982,6 +3081,7 @@ declare class HttpClient {
|
|
|
2982
3081
|
transferCache?: {
|
|
2983
3082
|
includeHeaders?: string[];
|
|
2984
3083
|
} | boolean;
|
|
3084
|
+
timeout?: number;
|
|
2985
3085
|
}): Observable<HttpEvent<T>>;
|
|
2986
3086
|
/**
|
|
2987
3087
|
* Constructs a POST request that interprets the body as an `ArrayBuffer`
|
|
@@ -3013,6 +3113,7 @@ declare class HttpClient {
|
|
|
3013
3113
|
transferCache?: {
|
|
3014
3114
|
includeHeaders?: string[];
|
|
3015
3115
|
} | boolean;
|
|
3116
|
+
timeout?: number;
|
|
3016
3117
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
3017
3118
|
/**
|
|
3018
3119
|
* Constructs a `POST` request that interprets the body as a `Blob` and returns the full
|
|
@@ -3044,6 +3145,7 @@ declare class HttpClient {
|
|
|
3044
3145
|
transferCache?: {
|
|
3045
3146
|
includeHeaders?: string[];
|
|
3046
3147
|
} | boolean;
|
|
3148
|
+
timeout?: number;
|
|
3047
3149
|
}): Observable<HttpResponse<Blob>>;
|
|
3048
3150
|
/**
|
|
3049
3151
|
* Constructs a `POST` request that interprets the body as a text stream and returns
|
|
@@ -3075,6 +3177,7 @@ declare class HttpClient {
|
|
|
3075
3177
|
transferCache?: {
|
|
3076
3178
|
includeHeaders?: string[];
|
|
3077
3179
|
} | boolean;
|
|
3180
|
+
timeout?: number;
|
|
3078
3181
|
}): Observable<HttpResponse<string>>;
|
|
3079
3182
|
/**
|
|
3080
3183
|
* Constructs a `POST` request that interprets the body as JSON
|
|
@@ -3106,6 +3209,7 @@ declare class HttpClient {
|
|
|
3106
3209
|
transferCache?: {
|
|
3107
3210
|
includeHeaders?: string[];
|
|
3108
3211
|
} | boolean;
|
|
3212
|
+
timeout?: number;
|
|
3109
3213
|
}): Observable<HttpResponse<Object>>;
|
|
3110
3214
|
/**
|
|
3111
3215
|
* Constructs a `POST` request that interprets the body as JSON and returns the
|
|
@@ -3138,6 +3242,7 @@ declare class HttpClient {
|
|
|
3138
3242
|
transferCache?: {
|
|
3139
3243
|
includeHeaders?: string[];
|
|
3140
3244
|
} | boolean;
|
|
3245
|
+
timeout?: number;
|
|
3141
3246
|
}): Observable<HttpResponse<T>>;
|
|
3142
3247
|
/**
|
|
3143
3248
|
* Constructs a `POST` request that interprets the body as JSON
|
|
@@ -3168,6 +3273,7 @@ declare class HttpClient {
|
|
|
3168
3273
|
transferCache?: {
|
|
3169
3274
|
includeHeaders?: string[];
|
|
3170
3275
|
} | boolean;
|
|
3276
|
+
timeout?: number;
|
|
3171
3277
|
}): Observable<Object>;
|
|
3172
3278
|
/**
|
|
3173
3279
|
* Constructs a `POST` request that interprets the body as JSON
|
|
@@ -3199,6 +3305,7 @@ declare class HttpClient {
|
|
|
3199
3305
|
transferCache?: {
|
|
3200
3306
|
includeHeaders?: string[];
|
|
3201
3307
|
} | boolean;
|
|
3308
|
+
timeout?: number;
|
|
3202
3309
|
}): Observable<T>;
|
|
3203
3310
|
/**
|
|
3204
3311
|
* Constructs a `PUT` request that interprets the body as an `ArrayBuffer` and returns the
|
|
@@ -3226,6 +3333,7 @@ declare class HttpClient {
|
|
|
3226
3333
|
redirect?: RequestRedirect;
|
|
3227
3334
|
referrer?: string;
|
|
3228
3335
|
integrity?: string;
|
|
3336
|
+
timeout?: number;
|
|
3229
3337
|
}): Observable<ArrayBuffer>;
|
|
3230
3338
|
/**
|
|
3231
3339
|
* Constructs a `PUT` request that interprets the body as a `Blob` and returns
|
|
@@ -3253,6 +3361,7 @@ declare class HttpClient {
|
|
|
3253
3361
|
redirect?: RequestRedirect;
|
|
3254
3362
|
referrer?: string;
|
|
3255
3363
|
integrity?: string;
|
|
3364
|
+
timeout?: number;
|
|
3256
3365
|
}): Observable<Blob>;
|
|
3257
3366
|
/**
|
|
3258
3367
|
* Constructs a `PUT` request that interprets the body as a text string and
|
|
@@ -3280,6 +3389,7 @@ declare class HttpClient {
|
|
|
3280
3389
|
redirect?: RequestRedirect;
|
|
3281
3390
|
referrer?: string;
|
|
3282
3391
|
integrity?: string;
|
|
3392
|
+
timeout?: number;
|
|
3283
3393
|
}): Observable<string>;
|
|
3284
3394
|
/**
|
|
3285
3395
|
* Constructs a `PUT` request that interprets the body as an `ArrayBuffer` and
|
|
@@ -3308,6 +3418,7 @@ declare class HttpClient {
|
|
|
3308
3418
|
redirect?: RequestRedirect;
|
|
3309
3419
|
referrer?: string;
|
|
3310
3420
|
integrity?: string;
|
|
3421
|
+
timeout?: number;
|
|
3311
3422
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
3312
3423
|
/**
|
|
3313
3424
|
* Constructs a `PUT` request that interprets the body as a `Blob` and returns the full event
|
|
@@ -3336,6 +3447,7 @@ declare class HttpClient {
|
|
|
3336
3447
|
redirect?: RequestRedirect;
|
|
3337
3448
|
referrer?: string;
|
|
3338
3449
|
integrity?: string;
|
|
3450
|
+
timeout?: number;
|
|
3339
3451
|
}): Observable<HttpEvent<Blob>>;
|
|
3340
3452
|
/**
|
|
3341
3453
|
* Constructs a `PUT` request that interprets the body as a text string and returns the full event
|
|
@@ -3364,6 +3476,7 @@ declare class HttpClient {
|
|
|
3364
3476
|
redirect?: RequestRedirect;
|
|
3365
3477
|
referrer?: string;
|
|
3366
3478
|
integrity?: string;
|
|
3479
|
+
timeout?: number;
|
|
3367
3480
|
}): Observable<HttpEvent<string>>;
|
|
3368
3481
|
/**
|
|
3369
3482
|
* Constructs a `PUT` request that interprets the body as JSON and returns the full
|
|
@@ -3392,6 +3505,7 @@ declare class HttpClient {
|
|
|
3392
3505
|
redirect?: RequestRedirect;
|
|
3393
3506
|
referrer?: string;
|
|
3394
3507
|
integrity?: string;
|
|
3508
|
+
timeout?: number;
|
|
3395
3509
|
}): Observable<HttpEvent<Object>>;
|
|
3396
3510
|
/**
|
|
3397
3511
|
* Constructs a `PUT` request that interprets the body as JSON and returns the
|
|
@@ -3420,6 +3534,7 @@ declare class HttpClient {
|
|
|
3420
3534
|
redirect?: RequestRedirect;
|
|
3421
3535
|
referrer?: string;
|
|
3422
3536
|
integrity?: string;
|
|
3537
|
+
timeout?: number;
|
|
3423
3538
|
}): Observable<HttpEvent<T>>;
|
|
3424
3539
|
/**
|
|
3425
3540
|
* Constructs a `PUT` request that interprets the body as an
|
|
@@ -3448,6 +3563,7 @@ declare class HttpClient {
|
|
|
3448
3563
|
redirect?: RequestRedirect;
|
|
3449
3564
|
referrer?: string;
|
|
3450
3565
|
integrity?: string;
|
|
3566
|
+
timeout?: number;
|
|
3451
3567
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
3452
3568
|
/**
|
|
3453
3569
|
* Constructs a `PUT` request that interprets the body as a `Blob` and returns the
|
|
@@ -3476,6 +3592,7 @@ declare class HttpClient {
|
|
|
3476
3592
|
redirect?: RequestRedirect;
|
|
3477
3593
|
referrer?: string;
|
|
3478
3594
|
integrity?: string;
|
|
3595
|
+
timeout?: number;
|
|
3479
3596
|
}): Observable<HttpResponse<Blob>>;
|
|
3480
3597
|
/**
|
|
3481
3598
|
* Constructs a `PUT` request that interprets the body as a text stream and returns the
|
|
@@ -3504,6 +3621,7 @@ declare class HttpClient {
|
|
|
3504
3621
|
redirect?: RequestRedirect;
|
|
3505
3622
|
referrer?: string;
|
|
3506
3623
|
integrity?: string;
|
|
3624
|
+
timeout?: number;
|
|
3507
3625
|
}): Observable<HttpResponse<string>>;
|
|
3508
3626
|
/**
|
|
3509
3627
|
* Constructs a `PUT` request that interprets the body as JSON and returns the full
|
|
@@ -3532,6 +3650,7 @@ declare class HttpClient {
|
|
|
3532
3650
|
redirect?: RequestRedirect;
|
|
3533
3651
|
referrer?: string;
|
|
3534
3652
|
integrity?: string;
|
|
3653
|
+
timeout?: number;
|
|
3535
3654
|
}): Observable<HttpResponse<Object>>;
|
|
3536
3655
|
/**
|
|
3537
3656
|
* Constructs a `PUT` request that interprets the body as an instance of the requested type and
|
|
@@ -3560,6 +3679,7 @@ declare class HttpClient {
|
|
|
3560
3679
|
redirect?: RequestRedirect;
|
|
3561
3680
|
referrer?: string;
|
|
3562
3681
|
integrity?: string;
|
|
3682
|
+
timeout?: number;
|
|
3563
3683
|
}): Observable<HttpResponse<T>>;
|
|
3564
3684
|
/**
|
|
3565
3685
|
* Constructs a `PUT` request that interprets the body as JSON
|
|
@@ -3587,6 +3707,7 @@ declare class HttpClient {
|
|
|
3587
3707
|
redirect?: RequestRedirect;
|
|
3588
3708
|
referrer?: string;
|
|
3589
3709
|
integrity?: string;
|
|
3710
|
+
timeout?: number;
|
|
3590
3711
|
}): Observable<Object>;
|
|
3591
3712
|
/**
|
|
3592
3713
|
* Constructs a `PUT` request that interprets the body as an instance of the requested type
|
|
@@ -3614,6 +3735,7 @@ declare class HttpClient {
|
|
|
3614
3735
|
redirect?: RequestRedirect;
|
|
3615
3736
|
referrer?: string;
|
|
3616
3737
|
integrity?: string;
|
|
3738
|
+
timeout?: number;
|
|
3617
3739
|
}): Observable<T>;
|
|
3618
3740
|
static ɵfac: i0.ɵɵFactoryDeclaration<HttpClient, never>;
|
|
3619
3741
|
static ɵprov: i0.ɵɵInjectableDeclaration<HttpClient>;
|
|
@@ -4039,6 +4161,17 @@ interface HttpResourceRequest {
|
|
|
4039
4161
|
* This can affect whether the request follows redirects automatically, or if it fails when a redirect occurs.
|
|
4040
4162
|
*/
|
|
4041
4163
|
redirect?: RequestRedirect | (string & {});
|
|
4164
|
+
/**
|
|
4165
|
+
* The referrer of the request, which can be used to indicate the origin of the request.
|
|
4166
|
+
* This is useful for security and analytics purposes.
|
|
4167
|
+
* Value is a same-origin URL, "about:client", or the empty string, to set request's referrer.
|
|
4168
|
+
*/
|
|
4169
|
+
referrer?: string;
|
|
4170
|
+
/**
|
|
4171
|
+
* The integrity metadata of the request, which can be used to ensure the request is made with the expected content.
|
|
4172
|
+
* A cryptographic hash of the resource to be fetched by request
|
|
4173
|
+
*/
|
|
4174
|
+
integrity?: string;
|
|
4042
4175
|
/**
|
|
4043
4176
|
* Configures the server-side rendering transfer cache for this request.
|
|
4044
4177
|
*
|