@angular/common 20.1.0-next.2 → 20.1.0-rc.0
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-Cpp8wYHt.d.ts → common_module.d.d.ts} +17 -13
- package/fesm2022/common.mjs +31 -20
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/{common_module-D4mHDfs1.mjs → common_module.mjs} +105 -97
- package/fesm2022/common_module.mjs.map +1 -0
- package/fesm2022/http/testing.mjs +10 -13
- package/fesm2022/http/testing.mjs.map +1 -1
- package/fesm2022/http.mjs +29 -17
- package/fesm2022/http.mjs.map +1 -1
- package/fesm2022/{location-BIEtBxGx.mjs → location.mjs} +17 -17
- package/fesm2022/location.mjs.map +1 -0
- package/fesm2022/{module-CBsxN_3E.mjs → module.mjs} +215 -51
- package/fesm2022/module.mjs.map +1 -0
- package/fesm2022/{platform_navigation-B45Jeakb.mjs → platform_navigation.mjs} +5 -5
- package/fesm2022/platform_navigation.mjs.map +1 -0
- package/fesm2022/testing.mjs +15 -15
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +7 -7
- package/fesm2022/upgrade.mjs.map +1 -1
- package/fesm2022/{xhr-CEmSPUGj.mjs → xhr.mjs} +2 -2
- package/fesm2022/xhr.mjs.map +1 -0
- package/http/index.d.ts +641 -5
- package/http/testing/index.d.ts +2 -2
- package/index.d.ts +6 -6
- package/{module.d-yNBsZ8gb.d.ts → module.d.d.ts} +71 -1
- package/package.json +2 -2
- package/{platform_location.d-Lbv6Ueec.d.ts → platform_location.d.d.ts} +1 -1
- package/testing/index.d.ts +2 -2
- package/upgrade/index.d.ts +3 -3
- package/{xhr.d-D_1kTQR5.d.ts → xhr.d.d.ts} +1 -1
- package/fesm2022/common_module-D4mHDfs1.mjs.map +0 -1
- package/fesm2022/location-BIEtBxGx.mjs.map +0 -1
- package/fesm2022/module-CBsxN_3E.mjs.map +0 -1
- package/fesm2022/platform_navigation-B45Jeakb.mjs.map +0 -1
- package/fesm2022/xhr-CEmSPUGj.mjs.map +0 -1
package/http/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.1.0-
|
|
2
|
+
* @license Angular v20.1.0-rc.0
|
|
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
|
|
9
|
-
export { HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule, HttpContextToken, HttpDownloadProgressEvent, HttpErrorResponse, HttpEventType, HttpHeaderResponse, HttpParameterCodec, HttpParamsOptions, HttpResponseBase, HttpSentEvent, HttpStatusCode, HttpUploadProgressEvent, HttpUrlEncodingCodec, HttpUserEvent } from '../module.d
|
|
8
|
+
import { HttpRequest, HttpEvent, HttpHeaders, HttpContext, HttpParams, HttpResponse, HttpProgressEvent } from '../module.d.js';
|
|
9
|
+
export { HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule, HttpContextToken, HttpDownloadProgressEvent, HttpErrorResponse, HttpEventType, HttpHeaderResponse, HttpParameterCodec, HttpParamsOptions, HttpResponseBase, HttpSentEvent, HttpStatusCode, HttpUploadProgressEvent, HttpUrlEncodingCodec, HttpUserEvent } from '../module.d.js';
|
|
10
10
|
import * as i0 from '@angular/core';
|
|
11
11
|
import { InjectionToken, EnvironmentInjector, Provider, EnvironmentProviders, Injector, ValueEqualityFn, WritableResource, ResourceRef, Signal } from '@angular/core';
|
|
12
|
-
import { XhrFactory } from '../xhr.d
|
|
12
|
+
import { XhrFactory } from '../xhr.d.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Transforms an `HttpRequest` into a stream of `HttpEvent`s, one of which will likely be a
|
|
@@ -122,7 +122,11 @@ declare class HttpClient {
|
|
|
122
122
|
reportProgress?: boolean;
|
|
123
123
|
responseType: 'arraybuffer';
|
|
124
124
|
withCredentials?: boolean;
|
|
125
|
-
|
|
125
|
+
credentials?: RequestCredentials;
|
|
126
|
+
priority?: RequestPriority;
|
|
127
|
+
cache?: RequestCache;
|
|
128
|
+
mode?: RequestMode;
|
|
129
|
+
redirect?: RequestRedirect;
|
|
126
130
|
transferCache?: {
|
|
127
131
|
includeHeaders?: string[];
|
|
128
132
|
} | boolean;
|
|
@@ -146,7 +150,12 @@ declare class HttpClient {
|
|
|
146
150
|
reportProgress?: boolean;
|
|
147
151
|
responseType: 'blob';
|
|
148
152
|
withCredentials?: boolean;
|
|
153
|
+
credentials?: RequestCredentials;
|
|
149
154
|
keepalive?: boolean;
|
|
155
|
+
priority?: RequestPriority;
|
|
156
|
+
cache?: RequestCache;
|
|
157
|
+
mode?: RequestMode;
|
|
158
|
+
redirect?: RequestRedirect;
|
|
150
159
|
transferCache?: {
|
|
151
160
|
includeHeaders?: string[];
|
|
152
161
|
} | boolean;
|
|
@@ -170,7 +179,12 @@ declare class HttpClient {
|
|
|
170
179
|
reportProgress?: boolean;
|
|
171
180
|
responseType: 'text';
|
|
172
181
|
withCredentials?: boolean;
|
|
182
|
+
credentials?: RequestCredentials;
|
|
173
183
|
keepalive?: boolean;
|
|
184
|
+
priority?: RequestPriority;
|
|
185
|
+
cache?: RequestCache;
|
|
186
|
+
mode?: RequestMode;
|
|
187
|
+
redirect?: RequestRedirect;
|
|
174
188
|
transferCache?: {
|
|
175
189
|
includeHeaders?: string[];
|
|
176
190
|
} | boolean;
|
|
@@ -195,7 +209,12 @@ declare class HttpClient {
|
|
|
195
209
|
reportProgress?: boolean;
|
|
196
210
|
responseType: 'arraybuffer';
|
|
197
211
|
withCredentials?: boolean;
|
|
212
|
+
credentials?: RequestCredentials;
|
|
198
213
|
keepalive?: boolean;
|
|
214
|
+
priority?: RequestPriority;
|
|
215
|
+
cache?: RequestCache;
|
|
216
|
+
mode?: RequestMode;
|
|
217
|
+
redirect?: RequestRedirect;
|
|
199
218
|
transferCache?: {
|
|
200
219
|
includeHeaders?: string[];
|
|
201
220
|
} | boolean;
|
|
@@ -220,7 +239,12 @@ declare class HttpClient {
|
|
|
220
239
|
reportProgress?: boolean;
|
|
221
240
|
responseType: 'blob';
|
|
222
241
|
withCredentials?: boolean;
|
|
242
|
+
credentials?: RequestCredentials;
|
|
223
243
|
keepalive?: boolean;
|
|
244
|
+
priority?: RequestPriority;
|
|
245
|
+
cache?: RequestCache;
|
|
246
|
+
mode?: RequestMode;
|
|
247
|
+
redirect?: RequestRedirect;
|
|
224
248
|
transferCache?: {
|
|
225
249
|
includeHeaders?: string[];
|
|
226
250
|
} | boolean;
|
|
@@ -245,7 +269,12 @@ declare class HttpClient {
|
|
|
245
269
|
reportProgress?: boolean;
|
|
246
270
|
responseType: 'text';
|
|
247
271
|
withCredentials?: boolean;
|
|
272
|
+
credentials?: RequestCredentials;
|
|
248
273
|
keepalive?: boolean;
|
|
274
|
+
priority?: RequestPriority;
|
|
275
|
+
cache?: RequestCache;
|
|
276
|
+
mode?: RequestMode;
|
|
277
|
+
redirect?: RequestRedirect;
|
|
249
278
|
transferCache?: {
|
|
250
279
|
includeHeaders?: string[];
|
|
251
280
|
} | boolean;
|
|
@@ -270,7 +299,12 @@ declare class HttpClient {
|
|
|
270
299
|
params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
|
|
271
300
|
responseType?: 'json';
|
|
272
301
|
withCredentials?: boolean;
|
|
302
|
+
credentials?: RequestCredentials;
|
|
273
303
|
keepalive?: boolean;
|
|
304
|
+
priority?: RequestPriority;
|
|
305
|
+
cache?: RequestCache;
|
|
306
|
+
mode?: RequestMode;
|
|
307
|
+
redirect?: RequestRedirect;
|
|
274
308
|
transferCache?: {
|
|
275
309
|
includeHeaders?: string[];
|
|
276
310
|
} | boolean;
|
|
@@ -295,7 +329,12 @@ declare class HttpClient {
|
|
|
295
329
|
params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
|
|
296
330
|
responseType?: 'json';
|
|
297
331
|
withCredentials?: boolean;
|
|
332
|
+
credentials?: RequestCredentials;
|
|
298
333
|
keepalive?: boolean;
|
|
334
|
+
priority?: RequestPriority;
|
|
335
|
+
cache?: RequestCache;
|
|
336
|
+
mode?: RequestMode;
|
|
337
|
+
redirect?: RequestRedirect;
|
|
299
338
|
transferCache?: {
|
|
300
339
|
includeHeaders?: string[];
|
|
301
340
|
} | boolean;
|
|
@@ -319,7 +358,12 @@ declare class HttpClient {
|
|
|
319
358
|
reportProgress?: boolean;
|
|
320
359
|
responseType: 'arraybuffer';
|
|
321
360
|
withCredentials?: boolean;
|
|
361
|
+
credentials?: RequestCredentials;
|
|
322
362
|
keepalive?: boolean;
|
|
363
|
+
priority?: RequestPriority;
|
|
364
|
+
cache?: RequestCache;
|
|
365
|
+
mode?: RequestMode;
|
|
366
|
+
redirect?: RequestRedirect;
|
|
323
367
|
transferCache?: {
|
|
324
368
|
includeHeaders?: string[];
|
|
325
369
|
} | boolean;
|
|
@@ -342,7 +386,12 @@ declare class HttpClient {
|
|
|
342
386
|
reportProgress?: boolean;
|
|
343
387
|
responseType: 'blob';
|
|
344
388
|
withCredentials?: boolean;
|
|
389
|
+
credentials?: RequestCredentials;
|
|
345
390
|
keepalive?: boolean;
|
|
391
|
+
priority?: RequestPriority;
|
|
392
|
+
cache?: RequestCache;
|
|
393
|
+
mode?: RequestMode;
|
|
394
|
+
redirect?: RequestRedirect;
|
|
346
395
|
transferCache?: {
|
|
347
396
|
includeHeaders?: string[];
|
|
348
397
|
} | boolean;
|
|
@@ -366,7 +415,12 @@ declare class HttpClient {
|
|
|
366
415
|
reportProgress?: boolean;
|
|
367
416
|
responseType: 'text';
|
|
368
417
|
withCredentials?: boolean;
|
|
418
|
+
credentials?: RequestCredentials;
|
|
369
419
|
keepalive?: boolean;
|
|
420
|
+
priority?: RequestPriority;
|
|
421
|
+
cache?: RequestCache;
|
|
422
|
+
mode?: RequestMode;
|
|
423
|
+
redirect?: RequestRedirect;
|
|
370
424
|
transferCache?: {
|
|
371
425
|
includeHeaders?: string[];
|
|
372
426
|
} | boolean;
|
|
@@ -391,7 +445,12 @@ declare class HttpClient {
|
|
|
391
445
|
params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
|
|
392
446
|
responseType?: 'json';
|
|
393
447
|
withCredentials?: boolean;
|
|
448
|
+
credentials?: RequestCredentials;
|
|
394
449
|
keepalive?: boolean;
|
|
450
|
+
priority?: RequestPriority;
|
|
451
|
+
cache?: RequestCache;
|
|
452
|
+
mode?: RequestMode;
|
|
453
|
+
redirect?: RequestRedirect;
|
|
395
454
|
}): Observable<HttpResponse<Object>>;
|
|
396
455
|
/**
|
|
397
456
|
* Constructs a request which interprets the body as a JavaScript object and returns
|
|
@@ -412,7 +471,12 @@ declare class HttpClient {
|
|
|
412
471
|
params?: HttpParams | Record<string, string | number | boolean | ReadonlyArray<string | number | boolean>>;
|
|
413
472
|
responseType?: 'json';
|
|
414
473
|
withCredentials?: boolean;
|
|
474
|
+
credentials?: RequestCredentials;
|
|
415
475
|
keepalive?: boolean;
|
|
476
|
+
priority?: RequestPriority;
|
|
477
|
+
cache?: RequestCache;
|
|
478
|
+
mode?: RequestMode;
|
|
479
|
+
redirect?: RequestRedirect;
|
|
416
480
|
transferCache?: {
|
|
417
481
|
includeHeaders?: string[];
|
|
418
482
|
} | boolean;
|
|
@@ -436,7 +500,12 @@ declare class HttpClient {
|
|
|
436
500
|
responseType?: 'json';
|
|
437
501
|
reportProgress?: boolean;
|
|
438
502
|
withCredentials?: boolean;
|
|
503
|
+
credentials?: RequestCredentials;
|
|
439
504
|
keepalive?: boolean;
|
|
505
|
+
priority?: RequestPriority;
|
|
506
|
+
cache?: RequestCache;
|
|
507
|
+
mode?: RequestMode;
|
|
508
|
+
redirect?: RequestRedirect;
|
|
440
509
|
transferCache?: {
|
|
441
510
|
includeHeaders?: string[];
|
|
442
511
|
} | boolean;
|
|
@@ -460,7 +529,12 @@ declare class HttpClient {
|
|
|
460
529
|
responseType?: 'json';
|
|
461
530
|
reportProgress?: boolean;
|
|
462
531
|
withCredentials?: boolean;
|
|
532
|
+
credentials?: RequestCredentials;
|
|
463
533
|
keepalive?: boolean;
|
|
534
|
+
priority?: RequestPriority;
|
|
535
|
+
cache?: RequestCache;
|
|
536
|
+
mode?: RequestMode;
|
|
537
|
+
redirect?: RequestRedirect;
|
|
464
538
|
transferCache?: {
|
|
465
539
|
includeHeaders?: string[];
|
|
466
540
|
} | boolean;
|
|
@@ -483,7 +557,12 @@ declare class HttpClient {
|
|
|
483
557
|
reportProgress?: boolean;
|
|
484
558
|
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
|
|
485
559
|
withCredentials?: boolean;
|
|
560
|
+
credentials?: RequestCredentials;
|
|
486
561
|
keepalive?: boolean;
|
|
562
|
+
priority?: RequestPriority;
|
|
563
|
+
cache?: RequestCache;
|
|
564
|
+
mode?: RequestMode;
|
|
565
|
+
redirect?: RequestRedirect;
|
|
487
566
|
transferCache?: {
|
|
488
567
|
includeHeaders?: string[];
|
|
489
568
|
} | boolean;
|
|
@@ -505,7 +584,12 @@ declare class HttpClient {
|
|
|
505
584
|
reportProgress?: boolean;
|
|
506
585
|
responseType: 'arraybuffer';
|
|
507
586
|
withCredentials?: boolean;
|
|
587
|
+
credentials?: RequestCredentials;
|
|
508
588
|
keepalive?: boolean;
|
|
589
|
+
priority?: RequestPriority;
|
|
590
|
+
cache?: RequestCache;
|
|
591
|
+
mode?: RequestMode;
|
|
592
|
+
redirect?: RequestRedirect;
|
|
509
593
|
body?: any | null;
|
|
510
594
|
}): Observable<ArrayBuffer>;
|
|
511
595
|
/**
|
|
@@ -525,7 +609,12 @@ declare class HttpClient {
|
|
|
525
609
|
reportProgress?: boolean;
|
|
526
610
|
responseType: 'blob';
|
|
527
611
|
withCredentials?: boolean;
|
|
612
|
+
credentials?: RequestCredentials;
|
|
528
613
|
keepalive?: boolean;
|
|
614
|
+
priority?: RequestPriority;
|
|
615
|
+
cache?: RequestCache;
|
|
616
|
+
mode?: RequestMode;
|
|
617
|
+
redirect?: RequestRedirect;
|
|
529
618
|
body?: any | null;
|
|
530
619
|
}): Observable<Blob>;
|
|
531
620
|
/**
|
|
@@ -545,7 +634,12 @@ declare class HttpClient {
|
|
|
545
634
|
reportProgress?: boolean;
|
|
546
635
|
responseType: 'text';
|
|
547
636
|
withCredentials?: boolean;
|
|
637
|
+
credentials?: RequestCredentials;
|
|
548
638
|
keepalive?: boolean;
|
|
639
|
+
priority?: RequestPriority;
|
|
640
|
+
cache?: RequestCache;
|
|
641
|
+
mode?: RequestMode;
|
|
642
|
+
redirect?: RequestRedirect;
|
|
549
643
|
body?: any | null;
|
|
550
644
|
}): Observable<string>;
|
|
551
645
|
/**
|
|
@@ -566,7 +660,12 @@ declare class HttpClient {
|
|
|
566
660
|
reportProgress?: boolean;
|
|
567
661
|
responseType: 'arraybuffer';
|
|
568
662
|
withCredentials?: boolean;
|
|
663
|
+
credentials?: RequestCredentials;
|
|
569
664
|
keepalive?: boolean;
|
|
665
|
+
priority?: RequestPriority;
|
|
666
|
+
cache?: RequestCache;
|
|
667
|
+
mode?: RequestMode;
|
|
668
|
+
redirect?: RequestRedirect;
|
|
570
669
|
body?: any | null;
|
|
571
670
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
572
671
|
/**
|
|
@@ -587,7 +686,12 @@ declare class HttpClient {
|
|
|
587
686
|
reportProgress?: boolean;
|
|
588
687
|
responseType: 'blob';
|
|
589
688
|
withCredentials?: boolean;
|
|
689
|
+
credentials?: RequestCredentials;
|
|
590
690
|
keepalive?: boolean;
|
|
691
|
+
priority?: RequestPriority;
|
|
692
|
+
cache?: RequestCache;
|
|
693
|
+
mode?: RequestMode;
|
|
694
|
+
redirect?: RequestRedirect;
|
|
591
695
|
body?: any | null;
|
|
592
696
|
}): Observable<HttpEvent<Blob>>;
|
|
593
697
|
/**
|
|
@@ -608,7 +712,12 @@ declare class HttpClient {
|
|
|
608
712
|
reportProgress?: boolean;
|
|
609
713
|
responseType: 'text';
|
|
610
714
|
withCredentials?: boolean;
|
|
715
|
+
credentials?: RequestCredentials;
|
|
611
716
|
keepalive?: boolean;
|
|
717
|
+
priority?: RequestPriority;
|
|
718
|
+
cache?: RequestCache;
|
|
719
|
+
mode?: RequestMode;
|
|
720
|
+
redirect?: RequestRedirect;
|
|
612
721
|
body?: any | null;
|
|
613
722
|
}): Observable<HttpEvent<string>>;
|
|
614
723
|
/**
|
|
@@ -629,7 +738,12 @@ declare class HttpClient {
|
|
|
629
738
|
reportProgress?: boolean;
|
|
630
739
|
responseType?: 'json';
|
|
631
740
|
withCredentials?: boolean;
|
|
741
|
+
credentials?: RequestCredentials;
|
|
632
742
|
keepalive?: boolean;
|
|
743
|
+
priority?: RequestPriority;
|
|
744
|
+
cache?: RequestCache;
|
|
745
|
+
mode?: RequestMode;
|
|
746
|
+
redirect?: RequestRedirect;
|
|
633
747
|
body?: any | null;
|
|
634
748
|
}): Observable<HttpEvent<Object>>;
|
|
635
749
|
/**
|
|
@@ -650,7 +764,12 @@ declare class HttpClient {
|
|
|
650
764
|
reportProgress?: boolean;
|
|
651
765
|
responseType?: 'json';
|
|
652
766
|
withCredentials?: boolean;
|
|
767
|
+
credentials?: RequestCredentials;
|
|
653
768
|
keepalive?: boolean;
|
|
769
|
+
priority?: RequestPriority;
|
|
770
|
+
cache?: RequestCache;
|
|
771
|
+
mode?: RequestMode;
|
|
772
|
+
redirect?: RequestRedirect;
|
|
654
773
|
body?: any | null;
|
|
655
774
|
}): Observable<HttpEvent<T>>;
|
|
656
775
|
/**
|
|
@@ -670,7 +789,12 @@ declare class HttpClient {
|
|
|
670
789
|
reportProgress?: boolean;
|
|
671
790
|
responseType: 'arraybuffer';
|
|
672
791
|
withCredentials?: boolean;
|
|
792
|
+
credentials?: RequestCredentials;
|
|
673
793
|
keepalive?: boolean;
|
|
794
|
+
priority?: RequestPriority;
|
|
795
|
+
cache?: RequestCache;
|
|
796
|
+
mode?: RequestMode;
|
|
797
|
+
redirect?: RequestRedirect;
|
|
674
798
|
body?: any | null;
|
|
675
799
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
676
800
|
/**
|
|
@@ -690,7 +814,12 @@ declare class HttpClient {
|
|
|
690
814
|
reportProgress?: boolean;
|
|
691
815
|
responseType: 'blob';
|
|
692
816
|
withCredentials?: boolean;
|
|
817
|
+
credentials?: RequestCredentials;
|
|
693
818
|
keepalive?: boolean;
|
|
819
|
+
priority?: RequestPriority;
|
|
820
|
+
cache?: RequestCache;
|
|
821
|
+
mode?: RequestMode;
|
|
822
|
+
redirect?: RequestRedirect;
|
|
694
823
|
body?: any | null;
|
|
695
824
|
}): Observable<HttpResponse<Blob>>;
|
|
696
825
|
/**
|
|
@@ -710,7 +839,12 @@ declare class HttpClient {
|
|
|
710
839
|
reportProgress?: boolean;
|
|
711
840
|
responseType: 'text';
|
|
712
841
|
withCredentials?: boolean;
|
|
842
|
+
credentials?: RequestCredentials;
|
|
713
843
|
keepalive?: boolean;
|
|
844
|
+
priority?: RequestPriority;
|
|
845
|
+
cache?: RequestCache;
|
|
846
|
+
mode?: RequestMode;
|
|
847
|
+
redirect?: RequestRedirect;
|
|
714
848
|
body?: any | null;
|
|
715
849
|
}): Observable<HttpResponse<string>>;
|
|
716
850
|
/**
|
|
@@ -731,7 +865,12 @@ declare class HttpClient {
|
|
|
731
865
|
reportProgress?: boolean;
|
|
732
866
|
responseType?: 'json';
|
|
733
867
|
withCredentials?: boolean;
|
|
868
|
+
credentials?: RequestCredentials;
|
|
734
869
|
keepalive?: boolean;
|
|
870
|
+
priority?: RequestPriority;
|
|
871
|
+
cache?: RequestCache;
|
|
872
|
+
mode?: RequestMode;
|
|
873
|
+
redirect?: RequestRedirect;
|
|
735
874
|
body?: any | null;
|
|
736
875
|
}): Observable<HttpResponse<Object>>;
|
|
737
876
|
/**
|
|
@@ -751,7 +890,12 @@ declare class HttpClient {
|
|
|
751
890
|
reportProgress?: boolean;
|
|
752
891
|
responseType?: 'json';
|
|
753
892
|
withCredentials?: boolean;
|
|
893
|
+
credentials?: RequestCredentials;
|
|
754
894
|
keepalive?: boolean;
|
|
895
|
+
priority?: RequestPriority;
|
|
896
|
+
cache?: RequestCache;
|
|
897
|
+
mode?: RequestMode;
|
|
898
|
+
redirect?: RequestRedirect;
|
|
755
899
|
body?: any | null;
|
|
756
900
|
}): Observable<HttpResponse<T>>;
|
|
757
901
|
/**
|
|
@@ -771,7 +915,12 @@ declare class HttpClient {
|
|
|
771
915
|
reportProgress?: boolean;
|
|
772
916
|
responseType?: 'json';
|
|
773
917
|
withCredentials?: boolean;
|
|
918
|
+
credentials?: RequestCredentials;
|
|
774
919
|
keepalive?: boolean;
|
|
920
|
+
priority?: RequestPriority;
|
|
921
|
+
cache?: RequestCache;
|
|
922
|
+
mode?: RequestMode;
|
|
923
|
+
redirect?: RequestRedirect;
|
|
775
924
|
body?: any | null;
|
|
776
925
|
}): Observable<Object>;
|
|
777
926
|
/**
|
|
@@ -791,7 +940,12 @@ declare class HttpClient {
|
|
|
791
940
|
reportProgress?: boolean;
|
|
792
941
|
responseType?: 'json';
|
|
793
942
|
withCredentials?: boolean;
|
|
943
|
+
credentials?: RequestCredentials;
|
|
794
944
|
keepalive?: boolean;
|
|
945
|
+
priority?: RequestPriority;
|
|
946
|
+
cache?: RequestCache;
|
|
947
|
+
mode?: RequestMode;
|
|
948
|
+
redirect?: RequestRedirect;
|
|
795
949
|
body?: any | null;
|
|
796
950
|
}): Observable<T>;
|
|
797
951
|
/**
|
|
@@ -811,7 +965,12 @@ declare class HttpClient {
|
|
|
811
965
|
reportProgress?: boolean;
|
|
812
966
|
responseType: 'arraybuffer';
|
|
813
967
|
withCredentials?: boolean;
|
|
968
|
+
credentials?: RequestCredentials;
|
|
814
969
|
keepalive?: boolean;
|
|
970
|
+
priority?: RequestPriority;
|
|
971
|
+
cache?: RequestCache;
|
|
972
|
+
mode?: RequestMode;
|
|
973
|
+
redirect?: RequestRedirect;
|
|
815
974
|
transferCache?: {
|
|
816
975
|
includeHeaders?: string[];
|
|
817
976
|
} | boolean;
|
|
@@ -833,7 +992,12 @@ declare class HttpClient {
|
|
|
833
992
|
reportProgress?: boolean;
|
|
834
993
|
responseType: 'blob';
|
|
835
994
|
withCredentials?: boolean;
|
|
995
|
+
credentials?: RequestCredentials;
|
|
836
996
|
keepalive?: boolean;
|
|
997
|
+
priority?: RequestPriority;
|
|
998
|
+
cache?: RequestCache;
|
|
999
|
+
mode?: RequestMode;
|
|
1000
|
+
redirect?: RequestRedirect;
|
|
837
1001
|
transferCache?: {
|
|
838
1002
|
includeHeaders?: string[];
|
|
839
1003
|
} | boolean;
|
|
@@ -855,7 +1019,12 @@ declare class HttpClient {
|
|
|
855
1019
|
reportProgress?: boolean;
|
|
856
1020
|
responseType: 'text';
|
|
857
1021
|
withCredentials?: boolean;
|
|
1022
|
+
credentials?: RequestCredentials;
|
|
858
1023
|
keepalive?: boolean;
|
|
1024
|
+
priority?: RequestPriority;
|
|
1025
|
+
cache?: RequestCache;
|
|
1026
|
+
mode?: RequestMode;
|
|
1027
|
+
redirect?: RequestRedirect;
|
|
859
1028
|
transferCache?: {
|
|
860
1029
|
includeHeaders?: string[];
|
|
861
1030
|
} | boolean;
|
|
@@ -878,7 +1047,12 @@ declare class HttpClient {
|
|
|
878
1047
|
reportProgress?: boolean;
|
|
879
1048
|
responseType: 'arraybuffer';
|
|
880
1049
|
withCredentials?: boolean;
|
|
1050
|
+
credentials?: RequestCredentials;
|
|
881
1051
|
keepalive?: boolean;
|
|
1052
|
+
priority?: RequestPriority;
|
|
1053
|
+
cache?: RequestCache;
|
|
1054
|
+
mode?: RequestMode;
|
|
1055
|
+
redirect?: RequestRedirect;
|
|
882
1056
|
transferCache?: {
|
|
883
1057
|
includeHeaders?: string[];
|
|
884
1058
|
} | boolean;
|
|
@@ -900,7 +1074,12 @@ declare class HttpClient {
|
|
|
900
1074
|
reportProgress?: boolean;
|
|
901
1075
|
responseType: 'blob';
|
|
902
1076
|
withCredentials?: boolean;
|
|
1077
|
+
credentials?: RequestCredentials;
|
|
903
1078
|
keepalive?: boolean;
|
|
1079
|
+
priority?: RequestPriority;
|
|
1080
|
+
cache?: RequestCache;
|
|
1081
|
+
mode?: RequestMode;
|
|
1082
|
+
redirect?: RequestRedirect;
|
|
904
1083
|
transferCache?: {
|
|
905
1084
|
includeHeaders?: string[];
|
|
906
1085
|
} | boolean;
|
|
@@ -922,7 +1101,12 @@ declare class HttpClient {
|
|
|
922
1101
|
reportProgress?: boolean;
|
|
923
1102
|
responseType: 'text';
|
|
924
1103
|
withCredentials?: boolean;
|
|
1104
|
+
credentials?: RequestCredentials;
|
|
925
1105
|
keepalive?: boolean;
|
|
1106
|
+
priority?: RequestPriority;
|
|
1107
|
+
cache?: RequestCache;
|
|
1108
|
+
mode?: RequestMode;
|
|
1109
|
+
redirect?: RequestRedirect;
|
|
926
1110
|
transferCache?: {
|
|
927
1111
|
includeHeaders?: string[];
|
|
928
1112
|
} | boolean;
|
|
@@ -944,7 +1128,12 @@ declare class HttpClient {
|
|
|
944
1128
|
reportProgress?: boolean;
|
|
945
1129
|
responseType?: 'json';
|
|
946
1130
|
withCredentials?: boolean;
|
|
1131
|
+
credentials?: RequestCredentials;
|
|
947
1132
|
keepalive?: boolean;
|
|
1133
|
+
priority?: RequestPriority;
|
|
1134
|
+
cache?: RequestCache;
|
|
1135
|
+
mode?: RequestMode;
|
|
1136
|
+
redirect?: RequestRedirect;
|
|
948
1137
|
transferCache?: {
|
|
949
1138
|
includeHeaders?: string[];
|
|
950
1139
|
} | boolean;
|
|
@@ -966,7 +1155,12 @@ declare class HttpClient {
|
|
|
966
1155
|
reportProgress?: boolean;
|
|
967
1156
|
responseType?: 'json';
|
|
968
1157
|
withCredentials?: boolean;
|
|
1158
|
+
credentials?: RequestCredentials;
|
|
969
1159
|
keepalive?: boolean;
|
|
1160
|
+
priority?: RequestPriority;
|
|
1161
|
+
cache?: RequestCache;
|
|
1162
|
+
mode?: RequestMode;
|
|
1163
|
+
redirect?: RequestRedirect;
|
|
970
1164
|
transferCache?: {
|
|
971
1165
|
includeHeaders?: string[];
|
|
972
1166
|
} | boolean;
|
|
@@ -989,7 +1183,12 @@ declare class HttpClient {
|
|
|
989
1183
|
reportProgress?: boolean;
|
|
990
1184
|
responseType: 'arraybuffer';
|
|
991
1185
|
withCredentials?: boolean;
|
|
1186
|
+
credentials?: RequestCredentials;
|
|
992
1187
|
keepalive?: boolean;
|
|
1188
|
+
priority?: RequestPriority;
|
|
1189
|
+
cache?: RequestCache;
|
|
1190
|
+
mode?: RequestMode;
|
|
1191
|
+
redirect?: RequestRedirect;
|
|
993
1192
|
transferCache?: {
|
|
994
1193
|
includeHeaders?: string[];
|
|
995
1194
|
} | boolean;
|
|
@@ -1012,7 +1211,12 @@ declare class HttpClient {
|
|
|
1012
1211
|
reportProgress?: boolean;
|
|
1013
1212
|
responseType: 'blob';
|
|
1014
1213
|
withCredentials?: boolean;
|
|
1214
|
+
credentials?: RequestCredentials;
|
|
1015
1215
|
keepalive?: boolean;
|
|
1216
|
+
priority?: RequestPriority;
|
|
1217
|
+
cache?: RequestCache;
|
|
1218
|
+
mode?: RequestMode;
|
|
1219
|
+
redirect?: RequestRedirect;
|
|
1016
1220
|
transferCache?: {
|
|
1017
1221
|
includeHeaders?: string[];
|
|
1018
1222
|
} | boolean;
|
|
@@ -1035,7 +1239,12 @@ declare class HttpClient {
|
|
|
1035
1239
|
reportProgress?: boolean;
|
|
1036
1240
|
responseType: 'text';
|
|
1037
1241
|
withCredentials?: boolean;
|
|
1242
|
+
credentials?: RequestCredentials;
|
|
1038
1243
|
keepalive?: boolean;
|
|
1244
|
+
priority?: RequestPriority;
|
|
1245
|
+
cache?: RequestCache;
|
|
1246
|
+
mode?: RequestMode;
|
|
1247
|
+
redirect?: RequestRedirect;
|
|
1039
1248
|
transferCache?: {
|
|
1040
1249
|
includeHeaders?: string[];
|
|
1041
1250
|
} | boolean;
|
|
@@ -1058,7 +1267,12 @@ declare class HttpClient {
|
|
|
1058
1267
|
reportProgress?: boolean;
|
|
1059
1268
|
responseType?: 'json';
|
|
1060
1269
|
withCredentials?: boolean;
|
|
1270
|
+
credentials?: RequestCredentials;
|
|
1061
1271
|
keepalive?: boolean;
|
|
1272
|
+
priority?: RequestPriority;
|
|
1273
|
+
cache?: RequestCache;
|
|
1274
|
+
mode?: RequestMode;
|
|
1275
|
+
redirect?: RequestRedirect;
|
|
1062
1276
|
transferCache?: {
|
|
1063
1277
|
includeHeaders?: string[];
|
|
1064
1278
|
} | boolean;
|
|
@@ -1081,7 +1295,12 @@ declare class HttpClient {
|
|
|
1081
1295
|
reportProgress?: boolean;
|
|
1082
1296
|
responseType?: 'json';
|
|
1083
1297
|
withCredentials?: boolean;
|
|
1298
|
+
credentials?: RequestCredentials;
|
|
1084
1299
|
keepalive?: boolean;
|
|
1300
|
+
priority?: RequestPriority;
|
|
1301
|
+
cache?: RequestCache;
|
|
1302
|
+
mode?: RequestMode;
|
|
1303
|
+
redirect?: RequestRedirect;
|
|
1085
1304
|
transferCache?: {
|
|
1086
1305
|
includeHeaders?: string[];
|
|
1087
1306
|
} | boolean;
|
|
@@ -1104,7 +1323,12 @@ declare class HttpClient {
|
|
|
1104
1323
|
reportProgress?: boolean;
|
|
1105
1324
|
responseType?: 'json';
|
|
1106
1325
|
withCredentials?: boolean;
|
|
1326
|
+
credentials?: RequestCredentials;
|
|
1107
1327
|
keepalive?: boolean;
|
|
1328
|
+
priority?: RequestPriority;
|
|
1329
|
+
cache?: RequestCache;
|
|
1330
|
+
mode?: RequestMode;
|
|
1331
|
+
redirect?: RequestRedirect;
|
|
1108
1332
|
transferCache?: {
|
|
1109
1333
|
includeHeaders?: string[];
|
|
1110
1334
|
} | boolean;
|
|
@@ -1126,7 +1350,12 @@ declare class HttpClient {
|
|
|
1126
1350
|
reportProgress?: boolean;
|
|
1127
1351
|
responseType?: 'json';
|
|
1128
1352
|
withCredentials?: boolean;
|
|
1353
|
+
credentials?: RequestCredentials;
|
|
1129
1354
|
keepalive?: boolean;
|
|
1355
|
+
priority?: RequestPriority;
|
|
1356
|
+
cache?: RequestCache;
|
|
1357
|
+
mode?: RequestMode;
|
|
1358
|
+
redirect?: RequestRedirect;
|
|
1130
1359
|
transferCache?: {
|
|
1131
1360
|
includeHeaders?: string[];
|
|
1132
1361
|
} | boolean;
|
|
@@ -1148,7 +1377,12 @@ declare class HttpClient {
|
|
|
1148
1377
|
reportProgress?: boolean;
|
|
1149
1378
|
responseType: 'arraybuffer';
|
|
1150
1379
|
withCredentials?: boolean;
|
|
1380
|
+
credentials?: RequestCredentials;
|
|
1151
1381
|
keepalive?: boolean;
|
|
1382
|
+
priority?: RequestPriority;
|
|
1383
|
+
cache?: RequestCache;
|
|
1384
|
+
mode?: RequestMode;
|
|
1385
|
+
redirect?: RequestRedirect;
|
|
1152
1386
|
transferCache?: {
|
|
1153
1387
|
includeHeaders?: string[];
|
|
1154
1388
|
} | boolean;
|
|
@@ -1170,7 +1404,12 @@ declare class HttpClient {
|
|
|
1170
1404
|
reportProgress?: boolean;
|
|
1171
1405
|
responseType: 'blob';
|
|
1172
1406
|
withCredentials?: boolean;
|
|
1407
|
+
credentials?: RequestCredentials;
|
|
1173
1408
|
keepalive?: boolean;
|
|
1409
|
+
priority?: RequestPriority;
|
|
1410
|
+
cache?: RequestCache;
|
|
1411
|
+
mode?: RequestMode;
|
|
1412
|
+
redirect?: RequestRedirect;
|
|
1174
1413
|
transferCache?: {
|
|
1175
1414
|
includeHeaders?: string[];
|
|
1176
1415
|
} | boolean;
|
|
@@ -1192,7 +1431,12 @@ declare class HttpClient {
|
|
|
1192
1431
|
reportProgress?: boolean;
|
|
1193
1432
|
responseType: 'text';
|
|
1194
1433
|
withCredentials?: boolean;
|
|
1434
|
+
credentials?: RequestCredentials;
|
|
1195
1435
|
keepalive?: boolean;
|
|
1436
|
+
priority?: RequestPriority;
|
|
1437
|
+
cache?: RequestCache;
|
|
1438
|
+
mode?: RequestMode;
|
|
1439
|
+
redirect?: RequestRedirect;
|
|
1196
1440
|
transferCache?: {
|
|
1197
1441
|
includeHeaders?: string[];
|
|
1198
1442
|
} | boolean;
|
|
@@ -1215,7 +1459,12 @@ declare class HttpClient {
|
|
|
1215
1459
|
reportProgress?: boolean;
|
|
1216
1460
|
responseType: 'arraybuffer';
|
|
1217
1461
|
withCredentials?: boolean;
|
|
1462
|
+
credentials?: RequestCredentials;
|
|
1218
1463
|
keepalive?: boolean;
|
|
1464
|
+
priority?: RequestPriority;
|
|
1465
|
+
cache?: RequestCache;
|
|
1466
|
+
mode?: RequestMode;
|
|
1467
|
+
redirect?: RequestRedirect;
|
|
1219
1468
|
transferCache?: {
|
|
1220
1469
|
includeHeaders?: string[];
|
|
1221
1470
|
} | boolean;
|
|
@@ -1238,7 +1487,12 @@ declare class HttpClient {
|
|
|
1238
1487
|
reportProgress?: boolean;
|
|
1239
1488
|
responseType: 'blob';
|
|
1240
1489
|
withCredentials?: boolean;
|
|
1490
|
+
credentials?: RequestCredentials;
|
|
1241
1491
|
keepalive?: boolean;
|
|
1492
|
+
priority?: RequestPriority;
|
|
1493
|
+
cache?: RequestCache;
|
|
1494
|
+
mode?: RequestMode;
|
|
1495
|
+
redirect?: RequestRedirect;
|
|
1242
1496
|
transferCache?: {
|
|
1243
1497
|
includeHeaders?: string[];
|
|
1244
1498
|
} | boolean;
|
|
@@ -1261,7 +1515,12 @@ declare class HttpClient {
|
|
|
1261
1515
|
reportProgress?: boolean;
|
|
1262
1516
|
responseType: 'text';
|
|
1263
1517
|
withCredentials?: boolean;
|
|
1518
|
+
credentials?: RequestCredentials;
|
|
1264
1519
|
keepalive?: boolean;
|
|
1520
|
+
priority?: RequestPriority;
|
|
1521
|
+
cache?: RequestCache;
|
|
1522
|
+
mode?: RequestMode;
|
|
1523
|
+
redirect?: RequestRedirect;
|
|
1265
1524
|
transferCache?: {
|
|
1266
1525
|
includeHeaders?: string[];
|
|
1267
1526
|
} | boolean;
|
|
@@ -1284,7 +1543,12 @@ declare class HttpClient {
|
|
|
1284
1543
|
reportProgress?: boolean;
|
|
1285
1544
|
responseType?: 'json';
|
|
1286
1545
|
withCredentials?: boolean;
|
|
1546
|
+
credentials?: RequestCredentials;
|
|
1287
1547
|
keepalive?: boolean;
|
|
1548
|
+
priority?: RequestPriority;
|
|
1549
|
+
cache?: RequestCache;
|
|
1550
|
+
mode?: RequestMode;
|
|
1551
|
+
redirect?: RequestRedirect;
|
|
1288
1552
|
transferCache?: {
|
|
1289
1553
|
includeHeaders?: string[];
|
|
1290
1554
|
} | boolean;
|
|
@@ -1307,7 +1571,12 @@ declare class HttpClient {
|
|
|
1307
1571
|
reportProgress?: boolean;
|
|
1308
1572
|
responseType?: 'json';
|
|
1309
1573
|
withCredentials?: boolean;
|
|
1574
|
+
credentials?: RequestCredentials;
|
|
1310
1575
|
keepalive?: boolean;
|
|
1576
|
+
priority?: RequestPriority;
|
|
1577
|
+
cache?: RequestCache;
|
|
1578
|
+
mode?: RequestMode;
|
|
1579
|
+
redirect?: RequestRedirect;
|
|
1311
1580
|
transferCache?: {
|
|
1312
1581
|
includeHeaders?: string[];
|
|
1313
1582
|
} | boolean;
|
|
@@ -1330,7 +1599,12 @@ declare class HttpClient {
|
|
|
1330
1599
|
reportProgress?: boolean;
|
|
1331
1600
|
responseType: 'arraybuffer';
|
|
1332
1601
|
withCredentials?: boolean;
|
|
1602
|
+
credentials?: RequestCredentials;
|
|
1333
1603
|
keepalive?: boolean;
|
|
1604
|
+
priority?: RequestPriority;
|
|
1605
|
+
cache?: RequestCache;
|
|
1606
|
+
mode?: RequestMode;
|
|
1607
|
+
redirect?: RequestRedirect;
|
|
1334
1608
|
transferCache?: {
|
|
1335
1609
|
includeHeaders?: string[];
|
|
1336
1610
|
} | boolean;
|
|
@@ -1353,7 +1627,12 @@ declare class HttpClient {
|
|
|
1353
1627
|
reportProgress?: boolean;
|
|
1354
1628
|
responseType: 'blob';
|
|
1355
1629
|
withCredentials?: boolean;
|
|
1630
|
+
credentials?: RequestCredentials;
|
|
1356
1631
|
keepalive?: boolean;
|
|
1632
|
+
priority?: RequestPriority;
|
|
1633
|
+
cache?: RequestCache;
|
|
1634
|
+
mode?: RequestMode;
|
|
1635
|
+
redirect?: RequestRedirect;
|
|
1357
1636
|
transferCache?: {
|
|
1358
1637
|
includeHeaders?: string[];
|
|
1359
1638
|
} | boolean;
|
|
@@ -1376,7 +1655,12 @@ declare class HttpClient {
|
|
|
1376
1655
|
reportProgress?: boolean;
|
|
1377
1656
|
responseType: 'text';
|
|
1378
1657
|
withCredentials?: boolean;
|
|
1658
|
+
credentials?: RequestCredentials;
|
|
1379
1659
|
keepalive?: boolean;
|
|
1660
|
+
priority?: RequestPriority;
|
|
1661
|
+
cache?: RequestCache;
|
|
1662
|
+
mode?: RequestMode;
|
|
1663
|
+
redirect?: RequestRedirect;
|
|
1380
1664
|
transferCache?: {
|
|
1381
1665
|
includeHeaders?: string[];
|
|
1382
1666
|
} | boolean;
|
|
@@ -1399,7 +1683,12 @@ declare class HttpClient {
|
|
|
1399
1683
|
reportProgress?: boolean;
|
|
1400
1684
|
responseType?: 'json';
|
|
1401
1685
|
withCredentials?: boolean;
|
|
1686
|
+
credentials?: RequestCredentials;
|
|
1402
1687
|
keepalive?: boolean;
|
|
1688
|
+
priority?: RequestPriority;
|
|
1689
|
+
cache?: RequestCache;
|
|
1690
|
+
mode?: RequestMode;
|
|
1691
|
+
redirect?: RequestRedirect;
|
|
1403
1692
|
transferCache?: {
|
|
1404
1693
|
includeHeaders?: string[];
|
|
1405
1694
|
} | boolean;
|
|
@@ -1422,7 +1711,12 @@ declare class HttpClient {
|
|
|
1422
1711
|
reportProgress?: boolean;
|
|
1423
1712
|
responseType?: 'json';
|
|
1424
1713
|
withCredentials?: boolean;
|
|
1714
|
+
credentials?: RequestCredentials;
|
|
1425
1715
|
keepalive?: boolean;
|
|
1716
|
+
priority?: RequestPriority;
|
|
1717
|
+
cache?: RequestCache;
|
|
1718
|
+
mode?: RequestMode;
|
|
1719
|
+
redirect?: RequestRedirect;
|
|
1426
1720
|
transferCache?: {
|
|
1427
1721
|
includeHeaders?: string[];
|
|
1428
1722
|
} | boolean;
|
|
@@ -1445,7 +1739,12 @@ declare class HttpClient {
|
|
|
1445
1739
|
reportProgress?: boolean;
|
|
1446
1740
|
responseType?: 'json';
|
|
1447
1741
|
withCredentials?: boolean;
|
|
1742
|
+
credentials?: RequestCredentials;
|
|
1448
1743
|
keepalive?: boolean;
|
|
1744
|
+
priority?: RequestPriority;
|
|
1745
|
+
cache?: RequestCache;
|
|
1746
|
+
mode?: RequestMode;
|
|
1747
|
+
redirect?: RequestRedirect;
|
|
1449
1748
|
transferCache?: {
|
|
1450
1749
|
includeHeaders?: string[];
|
|
1451
1750
|
} | boolean;
|
|
@@ -1468,7 +1767,12 @@ declare class HttpClient {
|
|
|
1468
1767
|
reportProgress?: boolean;
|
|
1469
1768
|
responseType?: 'json';
|
|
1470
1769
|
withCredentials?: boolean;
|
|
1770
|
+
credentials?: RequestCredentials;
|
|
1471
1771
|
keepalive?: boolean;
|
|
1772
|
+
priority?: RequestPriority;
|
|
1773
|
+
cache?: RequestCache;
|
|
1774
|
+
mode?: RequestMode;
|
|
1775
|
+
redirect?: RequestRedirect;
|
|
1472
1776
|
transferCache?: {
|
|
1473
1777
|
includeHeaders?: string[];
|
|
1474
1778
|
} | boolean;
|
|
@@ -1512,7 +1816,12 @@ declare class HttpClient {
|
|
|
1512
1816
|
reportProgress?: boolean;
|
|
1513
1817
|
responseType: 'arraybuffer';
|
|
1514
1818
|
withCredentials?: boolean;
|
|
1819
|
+
credentials?: RequestCredentials;
|
|
1515
1820
|
keepalive?: boolean;
|
|
1821
|
+
priority?: RequestPriority;
|
|
1822
|
+
cache?: RequestCache;
|
|
1823
|
+
mode?: RequestMode;
|
|
1824
|
+
redirect?: RequestRedirect;
|
|
1516
1825
|
}): Observable<ArrayBuffer>;
|
|
1517
1826
|
/**
|
|
1518
1827
|
* Constructs an `OPTIONS` request that interprets the body as a `Blob` and returns
|
|
@@ -1531,7 +1840,12 @@ declare class HttpClient {
|
|
|
1531
1840
|
reportProgress?: boolean;
|
|
1532
1841
|
responseType: 'blob';
|
|
1533
1842
|
withCredentials?: boolean;
|
|
1843
|
+
credentials?: RequestCredentials;
|
|
1534
1844
|
keepalive?: boolean;
|
|
1845
|
+
priority?: RequestPriority;
|
|
1846
|
+
cache?: RequestCache;
|
|
1847
|
+
mode?: RequestMode;
|
|
1848
|
+
redirect?: RequestRedirect;
|
|
1535
1849
|
}): Observable<Blob>;
|
|
1536
1850
|
/**
|
|
1537
1851
|
* Constructs an `OPTIONS` request that interprets the body as a text string and
|
|
@@ -1550,7 +1864,12 @@ declare class HttpClient {
|
|
|
1550
1864
|
reportProgress?: boolean;
|
|
1551
1865
|
responseType: 'text';
|
|
1552
1866
|
withCredentials?: boolean;
|
|
1867
|
+
credentials?: RequestCredentials;
|
|
1553
1868
|
keepalive?: boolean;
|
|
1869
|
+
priority?: RequestPriority;
|
|
1870
|
+
cache?: RequestCache;
|
|
1871
|
+
mode?: RequestMode;
|
|
1872
|
+
redirect?: RequestRedirect;
|
|
1554
1873
|
}): Observable<string>;
|
|
1555
1874
|
/**
|
|
1556
1875
|
* Constructs an `OPTIONS` request that interprets the body as an `ArrayBuffer`
|
|
@@ -1570,7 +1889,12 @@ declare class HttpClient {
|
|
|
1570
1889
|
reportProgress?: boolean;
|
|
1571
1890
|
responseType: 'arraybuffer';
|
|
1572
1891
|
withCredentials?: boolean;
|
|
1892
|
+
credentials?: RequestCredentials;
|
|
1573
1893
|
keepalive?: boolean;
|
|
1894
|
+
priority?: RequestPriority;
|
|
1895
|
+
cache?: RequestCache;
|
|
1896
|
+
mode?: RequestMode;
|
|
1897
|
+
redirect?: RequestRedirect;
|
|
1574
1898
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
1575
1899
|
/**
|
|
1576
1900
|
* Constructs an `OPTIONS` request that interprets the body as a `Blob` and
|
|
@@ -1590,7 +1914,12 @@ declare class HttpClient {
|
|
|
1590
1914
|
reportProgress?: boolean;
|
|
1591
1915
|
responseType: 'blob';
|
|
1592
1916
|
withCredentials?: boolean;
|
|
1917
|
+
credentials?: RequestCredentials;
|
|
1593
1918
|
keepalive?: boolean;
|
|
1919
|
+
priority?: RequestPriority;
|
|
1920
|
+
cache?: RequestCache;
|
|
1921
|
+
mode?: RequestMode;
|
|
1922
|
+
redirect?: RequestRedirect;
|
|
1594
1923
|
}): Observable<HttpEvent<Blob>>;
|
|
1595
1924
|
/**
|
|
1596
1925
|
* Constructs an `OPTIONS` request that interprets the body as a text string
|
|
@@ -1610,7 +1939,12 @@ declare class HttpClient {
|
|
|
1610
1939
|
reportProgress?: boolean;
|
|
1611
1940
|
responseType: 'text';
|
|
1612
1941
|
withCredentials?: boolean;
|
|
1942
|
+
credentials?: RequestCredentials;
|
|
1613
1943
|
keepalive?: boolean;
|
|
1944
|
+
priority?: RequestPriority;
|
|
1945
|
+
cache?: RequestCache;
|
|
1946
|
+
mode?: RequestMode;
|
|
1947
|
+
redirect?: RequestRedirect;
|
|
1614
1948
|
}): Observable<HttpEvent<string>>;
|
|
1615
1949
|
/**
|
|
1616
1950
|
* Constructs an `OPTIONS` request that interprets the body as JSON
|
|
@@ -1630,7 +1964,12 @@ declare class HttpClient {
|
|
|
1630
1964
|
reportProgress?: boolean;
|
|
1631
1965
|
responseType?: 'json';
|
|
1632
1966
|
withCredentials?: boolean;
|
|
1967
|
+
credentials?: RequestCredentials;
|
|
1633
1968
|
keepalive?: boolean;
|
|
1969
|
+
priority?: RequestPriority;
|
|
1970
|
+
cache?: RequestCache;
|
|
1971
|
+
mode?: RequestMode;
|
|
1972
|
+
redirect?: RequestRedirect;
|
|
1634
1973
|
}): Observable<HttpEvent<Object>>;
|
|
1635
1974
|
/**
|
|
1636
1975
|
* Constructs an `OPTIONS` request that interprets the body as JSON and
|
|
@@ -1650,7 +1989,12 @@ declare class HttpClient {
|
|
|
1650
1989
|
reportProgress?: boolean;
|
|
1651
1990
|
responseType?: 'json';
|
|
1652
1991
|
withCredentials?: boolean;
|
|
1992
|
+
credentials?: RequestCredentials;
|
|
1653
1993
|
keepalive?: boolean;
|
|
1994
|
+
priority?: RequestPriority;
|
|
1995
|
+
cache?: RequestCache;
|
|
1996
|
+
mode?: RequestMode;
|
|
1997
|
+
redirect?: RequestRedirect;
|
|
1654
1998
|
}): Observable<HttpEvent<T>>;
|
|
1655
1999
|
/**
|
|
1656
2000
|
* Constructs an `OPTIONS` request that interprets the body as an `ArrayBuffer`
|
|
@@ -1670,7 +2014,12 @@ declare class HttpClient {
|
|
|
1670
2014
|
reportProgress?: boolean;
|
|
1671
2015
|
responseType: 'arraybuffer';
|
|
1672
2016
|
withCredentials?: boolean;
|
|
2017
|
+
credentials?: RequestCredentials;
|
|
1673
2018
|
keepalive?: boolean;
|
|
2019
|
+
priority?: RequestPriority;
|
|
2020
|
+
cache?: RequestCache;
|
|
2021
|
+
mode?: RequestMode;
|
|
2022
|
+
redirect?: RequestRedirect;
|
|
1674
2023
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
1675
2024
|
/**
|
|
1676
2025
|
* Constructs an `OPTIONS` request that interprets the body as a `Blob`
|
|
@@ -1690,7 +2039,12 @@ declare class HttpClient {
|
|
|
1690
2039
|
reportProgress?: boolean;
|
|
1691
2040
|
responseType: 'blob';
|
|
1692
2041
|
withCredentials?: boolean;
|
|
2042
|
+
credentials?: RequestCredentials;
|
|
1693
2043
|
keepalive?: boolean;
|
|
2044
|
+
priority?: RequestPriority;
|
|
2045
|
+
cache?: RequestCache;
|
|
2046
|
+
mode?: RequestMode;
|
|
2047
|
+
redirect?: RequestRedirect;
|
|
1694
2048
|
}): Observable<HttpResponse<Blob>>;
|
|
1695
2049
|
/**
|
|
1696
2050
|
* Constructs an `OPTIONS` request that interprets the body as text stream
|
|
@@ -1710,7 +2064,12 @@ declare class HttpClient {
|
|
|
1710
2064
|
reportProgress?: boolean;
|
|
1711
2065
|
responseType: 'text';
|
|
1712
2066
|
withCredentials?: boolean;
|
|
2067
|
+
credentials?: RequestCredentials;
|
|
1713
2068
|
keepalive?: boolean;
|
|
2069
|
+
priority?: RequestPriority;
|
|
2070
|
+
cache?: RequestCache;
|
|
2071
|
+
mode?: RequestMode;
|
|
2072
|
+
redirect?: RequestRedirect;
|
|
1714
2073
|
}): Observable<HttpResponse<string>>;
|
|
1715
2074
|
/**
|
|
1716
2075
|
* Constructs an `OPTIONS` request that interprets the body as JSON
|
|
@@ -1730,7 +2089,12 @@ declare class HttpClient {
|
|
|
1730
2089
|
reportProgress?: boolean;
|
|
1731
2090
|
responseType?: 'json';
|
|
1732
2091
|
withCredentials?: boolean;
|
|
2092
|
+
credentials?: RequestCredentials;
|
|
1733
2093
|
keepalive?: boolean;
|
|
2094
|
+
priority?: RequestPriority;
|
|
2095
|
+
cache?: RequestCache;
|
|
2096
|
+
mode?: RequestMode;
|
|
2097
|
+
redirect?: RequestRedirect;
|
|
1734
2098
|
}): Observable<HttpResponse<Object>>;
|
|
1735
2099
|
/**
|
|
1736
2100
|
* Constructs an `OPTIONS` request that interprets the body as JSON and
|
|
@@ -1750,7 +2114,12 @@ declare class HttpClient {
|
|
|
1750
2114
|
reportProgress?: boolean;
|
|
1751
2115
|
responseType?: 'json';
|
|
1752
2116
|
withCredentials?: boolean;
|
|
2117
|
+
credentials?: RequestCredentials;
|
|
1753
2118
|
keepalive?: boolean;
|
|
2119
|
+
priority?: RequestPriority;
|
|
2120
|
+
cache?: RequestCache;
|
|
2121
|
+
mode?: RequestMode;
|
|
2122
|
+
redirect?: RequestRedirect;
|
|
1754
2123
|
}): Observable<HttpResponse<T>>;
|
|
1755
2124
|
/**
|
|
1756
2125
|
|
|
@@ -1770,7 +2139,12 @@ declare class HttpClient {
|
|
|
1770
2139
|
reportProgress?: boolean;
|
|
1771
2140
|
responseType?: 'json';
|
|
1772
2141
|
withCredentials?: boolean;
|
|
2142
|
+
credentials?: RequestCredentials;
|
|
1773
2143
|
keepalive?: boolean;
|
|
2144
|
+
priority?: RequestPriority;
|
|
2145
|
+
cache?: RequestCache;
|
|
2146
|
+
mode?: RequestMode;
|
|
2147
|
+
redirect?: RequestRedirect;
|
|
1774
2148
|
}): Observable<Object>;
|
|
1775
2149
|
/**
|
|
1776
2150
|
* Constructs an `OPTIONS` request that interprets the body as JSON and returns the
|
|
@@ -1789,7 +2163,12 @@ declare class HttpClient {
|
|
|
1789
2163
|
reportProgress?: boolean;
|
|
1790
2164
|
responseType?: 'json';
|
|
1791
2165
|
withCredentials?: boolean;
|
|
2166
|
+
credentials?: RequestCredentials;
|
|
1792
2167
|
keepalive?: boolean;
|
|
2168
|
+
priority?: RequestPriority;
|
|
2169
|
+
cache?: RequestCache;
|
|
2170
|
+
mode?: RequestMode;
|
|
2171
|
+
redirect?: RequestRedirect;
|
|
1793
2172
|
}): Observable<T>;
|
|
1794
2173
|
/**
|
|
1795
2174
|
* Constructs a `PATCH` request that interprets the body as an `ArrayBuffer` and returns
|
|
@@ -1809,7 +2188,12 @@ declare class HttpClient {
|
|
|
1809
2188
|
reportProgress?: boolean;
|
|
1810
2189
|
responseType: 'arraybuffer';
|
|
1811
2190
|
withCredentials?: boolean;
|
|
2191
|
+
credentials?: RequestCredentials;
|
|
1812
2192
|
keepalive?: boolean;
|
|
2193
|
+
priority?: RequestPriority;
|
|
2194
|
+
cache?: RequestCache;
|
|
2195
|
+
mode?: RequestMode;
|
|
2196
|
+
redirect?: RequestRedirect;
|
|
1813
2197
|
}): Observable<ArrayBuffer>;
|
|
1814
2198
|
/**
|
|
1815
2199
|
* Constructs a `PATCH` request that interprets the body as a `Blob` and returns the response
|
|
@@ -1829,7 +2213,12 @@ declare class HttpClient {
|
|
|
1829
2213
|
reportProgress?: boolean;
|
|
1830
2214
|
responseType: 'blob';
|
|
1831
2215
|
withCredentials?: boolean;
|
|
2216
|
+
credentials?: RequestCredentials;
|
|
1832
2217
|
keepalive?: boolean;
|
|
2218
|
+
priority?: RequestPriority;
|
|
2219
|
+
cache?: RequestCache;
|
|
2220
|
+
mode?: RequestMode;
|
|
2221
|
+
redirect?: RequestRedirect;
|
|
1833
2222
|
}): Observable<Blob>;
|
|
1834
2223
|
/**
|
|
1835
2224
|
* Constructs a `PATCH` request that interprets the body as a text string and
|
|
@@ -1849,7 +2238,12 @@ declare class HttpClient {
|
|
|
1849
2238
|
reportProgress?: boolean;
|
|
1850
2239
|
responseType: 'text';
|
|
1851
2240
|
withCredentials?: boolean;
|
|
2241
|
+
credentials?: RequestCredentials;
|
|
1852
2242
|
keepalive?: boolean;
|
|
2243
|
+
priority?: RequestPriority;
|
|
2244
|
+
cache?: RequestCache;
|
|
2245
|
+
mode?: RequestMode;
|
|
2246
|
+
redirect?: RequestRedirect;
|
|
1853
2247
|
}): Observable<string>;
|
|
1854
2248
|
/**
|
|
1855
2249
|
* Constructs a `PATCH` request that interprets the body as an `ArrayBuffer` and
|
|
@@ -1870,7 +2264,12 @@ declare class HttpClient {
|
|
|
1870
2264
|
reportProgress?: boolean;
|
|
1871
2265
|
responseType: 'arraybuffer';
|
|
1872
2266
|
withCredentials?: boolean;
|
|
2267
|
+
credentials?: RequestCredentials;
|
|
1873
2268
|
keepalive?: boolean;
|
|
2269
|
+
priority?: RequestPriority;
|
|
2270
|
+
cache?: RequestCache;
|
|
2271
|
+
mode?: RequestMode;
|
|
2272
|
+
redirect?: RequestRedirect;
|
|
1874
2273
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
1875
2274
|
/**
|
|
1876
2275
|
* Constructs a `PATCH` request that interprets the body as a `Blob`
|
|
@@ -1891,7 +2290,12 @@ declare class HttpClient {
|
|
|
1891
2290
|
reportProgress?: boolean;
|
|
1892
2291
|
responseType: 'blob';
|
|
1893
2292
|
withCredentials?: boolean;
|
|
2293
|
+
credentials?: RequestCredentials;
|
|
1894
2294
|
keepalive?: boolean;
|
|
2295
|
+
priority?: RequestPriority;
|
|
2296
|
+
cache?: RequestCache;
|
|
2297
|
+
mode?: RequestMode;
|
|
2298
|
+
redirect?: RequestRedirect;
|
|
1895
2299
|
}): Observable<HttpEvent<Blob>>;
|
|
1896
2300
|
/**
|
|
1897
2301
|
* Constructs a `PATCH` request that interprets the body as a text string and
|
|
@@ -1912,7 +2316,12 @@ declare class HttpClient {
|
|
|
1912
2316
|
reportProgress?: boolean;
|
|
1913
2317
|
responseType: 'text';
|
|
1914
2318
|
withCredentials?: boolean;
|
|
2319
|
+
credentials?: RequestCredentials;
|
|
1915
2320
|
keepalive?: boolean;
|
|
2321
|
+
priority?: RequestPriority;
|
|
2322
|
+
cache?: RequestCache;
|
|
2323
|
+
mode?: RequestMode;
|
|
2324
|
+
redirect?: RequestRedirect;
|
|
1916
2325
|
}): Observable<HttpEvent<string>>;
|
|
1917
2326
|
/**
|
|
1918
2327
|
* Constructs a `PATCH` request that interprets the body as JSON
|
|
@@ -1933,7 +2342,12 @@ declare class HttpClient {
|
|
|
1933
2342
|
reportProgress?: boolean;
|
|
1934
2343
|
responseType?: 'json';
|
|
1935
2344
|
withCredentials?: boolean;
|
|
2345
|
+
credentials?: RequestCredentials;
|
|
1936
2346
|
keepalive?: boolean;
|
|
2347
|
+
priority?: RequestPriority;
|
|
2348
|
+
cache?: RequestCache;
|
|
2349
|
+
mode?: RequestMode;
|
|
2350
|
+
redirect?: RequestRedirect;
|
|
1937
2351
|
}): Observable<HttpEvent<Object>>;
|
|
1938
2352
|
/**
|
|
1939
2353
|
* Constructs a `PATCH` request that interprets the body as JSON
|
|
@@ -1954,7 +2368,12 @@ declare class HttpClient {
|
|
|
1954
2368
|
reportProgress?: boolean;
|
|
1955
2369
|
responseType?: 'json';
|
|
1956
2370
|
withCredentials?: boolean;
|
|
2371
|
+
credentials?: RequestCredentials;
|
|
1957
2372
|
keepalive?: boolean;
|
|
2373
|
+
priority?: RequestPriority;
|
|
2374
|
+
cache?: RequestCache;
|
|
2375
|
+
mode?: RequestMode;
|
|
2376
|
+
redirect?: RequestRedirect;
|
|
1958
2377
|
}): Observable<HttpEvent<T>>;
|
|
1959
2378
|
/**
|
|
1960
2379
|
* Constructs a `PATCH` request that interprets the body as an `ArrayBuffer`
|
|
@@ -1975,7 +2394,12 @@ declare class HttpClient {
|
|
|
1975
2394
|
reportProgress?: boolean;
|
|
1976
2395
|
responseType: 'arraybuffer';
|
|
1977
2396
|
withCredentials?: boolean;
|
|
2397
|
+
credentials?: RequestCredentials;
|
|
1978
2398
|
keepalive?: boolean;
|
|
2399
|
+
priority?: RequestPriority;
|
|
2400
|
+
cache?: RequestCache;
|
|
2401
|
+
mode?: RequestMode;
|
|
2402
|
+
redirect?: RequestRedirect;
|
|
1979
2403
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
1980
2404
|
/**
|
|
1981
2405
|
* Constructs a `PATCH` request that interprets the body as a `Blob` and returns the full
|
|
@@ -1996,7 +2420,12 @@ declare class HttpClient {
|
|
|
1996
2420
|
reportProgress?: boolean;
|
|
1997
2421
|
responseType: 'blob';
|
|
1998
2422
|
withCredentials?: boolean;
|
|
2423
|
+
credentials?: RequestCredentials;
|
|
1999
2424
|
keepalive?: boolean;
|
|
2425
|
+
priority?: RequestPriority;
|
|
2426
|
+
cache?: RequestCache;
|
|
2427
|
+
mode?: RequestMode;
|
|
2428
|
+
redirect?: RequestRedirect;
|
|
2000
2429
|
}): Observable<HttpResponse<Blob>>;
|
|
2001
2430
|
/**
|
|
2002
2431
|
* Constructs a `PATCH` request that interprets the body as a text stream and returns the
|
|
@@ -2017,7 +2446,12 @@ declare class HttpClient {
|
|
|
2017
2446
|
reportProgress?: boolean;
|
|
2018
2447
|
responseType: 'text';
|
|
2019
2448
|
withCredentials?: boolean;
|
|
2449
|
+
credentials?: RequestCredentials;
|
|
2020
2450
|
keepalive?: boolean;
|
|
2451
|
+
priority?: RequestPriority;
|
|
2452
|
+
cache?: RequestCache;
|
|
2453
|
+
mode?: RequestMode;
|
|
2454
|
+
redirect?: RequestRedirect;
|
|
2021
2455
|
}): Observable<HttpResponse<string>>;
|
|
2022
2456
|
/**
|
|
2023
2457
|
* Constructs a `PATCH` request that interprets the body as JSON
|
|
@@ -2038,7 +2472,12 @@ declare class HttpClient {
|
|
|
2038
2472
|
reportProgress?: boolean;
|
|
2039
2473
|
responseType?: 'json';
|
|
2040
2474
|
withCredentials?: boolean;
|
|
2475
|
+
credentials?: RequestCredentials;
|
|
2041
2476
|
keepalive?: boolean;
|
|
2477
|
+
priority?: RequestPriority;
|
|
2478
|
+
cache?: RequestCache;
|
|
2479
|
+
mode?: RequestMode;
|
|
2480
|
+
redirect?: RequestRedirect;
|
|
2042
2481
|
}): Observable<HttpResponse<Object>>;
|
|
2043
2482
|
/**
|
|
2044
2483
|
* Constructs a `PATCH` request that interprets the body as JSON
|
|
@@ -2059,7 +2498,12 @@ declare class HttpClient {
|
|
|
2059
2498
|
reportProgress?: boolean;
|
|
2060
2499
|
responseType?: 'json';
|
|
2061
2500
|
withCredentials?: boolean;
|
|
2501
|
+
credentials?: RequestCredentials;
|
|
2062
2502
|
keepalive?: boolean;
|
|
2503
|
+
priority?: RequestPriority;
|
|
2504
|
+
cache?: RequestCache;
|
|
2505
|
+
mode?: RequestMode;
|
|
2506
|
+
redirect?: RequestRedirect;
|
|
2063
2507
|
}): Observable<HttpResponse<T>>;
|
|
2064
2508
|
/**
|
|
2065
2509
|
|
|
@@ -2080,7 +2524,12 @@ declare class HttpClient {
|
|
|
2080
2524
|
reportProgress?: boolean;
|
|
2081
2525
|
responseType?: 'json';
|
|
2082
2526
|
withCredentials?: boolean;
|
|
2527
|
+
credentials?: RequestCredentials;
|
|
2083
2528
|
keepalive?: boolean;
|
|
2529
|
+
priority?: RequestPriority;
|
|
2530
|
+
cache?: RequestCache;
|
|
2531
|
+
mode?: RequestMode;
|
|
2532
|
+
redirect?: RequestRedirect;
|
|
2084
2533
|
}): Observable<Object>;
|
|
2085
2534
|
/**
|
|
2086
2535
|
* Constructs a `PATCH` request that interprets the body as JSON
|
|
@@ -2101,7 +2550,12 @@ declare class HttpClient {
|
|
|
2101
2550
|
reportProgress?: boolean;
|
|
2102
2551
|
responseType?: 'json';
|
|
2103
2552
|
withCredentials?: boolean;
|
|
2553
|
+
credentials?: RequestCredentials;
|
|
2104
2554
|
keepalive?: boolean;
|
|
2555
|
+
priority?: RequestPriority;
|
|
2556
|
+
cache?: RequestCache;
|
|
2557
|
+
mode?: RequestMode;
|
|
2558
|
+
redirect?: RequestRedirect;
|
|
2105
2559
|
}): Observable<T>;
|
|
2106
2560
|
/**
|
|
2107
2561
|
* Constructs a `POST` request that interprets the body as an `ArrayBuffer` and returns
|
|
@@ -2121,7 +2575,12 @@ declare class HttpClient {
|
|
|
2121
2575
|
reportProgress?: boolean;
|
|
2122
2576
|
responseType: 'arraybuffer';
|
|
2123
2577
|
withCredentials?: boolean;
|
|
2578
|
+
credentials?: RequestCredentials;
|
|
2124
2579
|
keepalive?: boolean;
|
|
2580
|
+
priority?: RequestPriority;
|
|
2581
|
+
cache?: RequestCache;
|
|
2582
|
+
mode?: RequestMode;
|
|
2583
|
+
redirect?: RequestRedirect;
|
|
2125
2584
|
transferCache?: {
|
|
2126
2585
|
includeHeaders?: string[];
|
|
2127
2586
|
} | boolean;
|
|
@@ -2144,7 +2603,12 @@ declare class HttpClient {
|
|
|
2144
2603
|
reportProgress?: boolean;
|
|
2145
2604
|
responseType: 'blob';
|
|
2146
2605
|
withCredentials?: boolean;
|
|
2606
|
+
credentials?: RequestCredentials;
|
|
2147
2607
|
keepalive?: boolean;
|
|
2608
|
+
priority?: RequestPriority;
|
|
2609
|
+
cache?: RequestCache;
|
|
2610
|
+
mode?: RequestMode;
|
|
2611
|
+
redirect?: RequestRedirect;
|
|
2148
2612
|
transferCache?: {
|
|
2149
2613
|
includeHeaders?: string[];
|
|
2150
2614
|
} | boolean;
|
|
@@ -2167,7 +2631,12 @@ declare class HttpClient {
|
|
|
2167
2631
|
reportProgress?: boolean;
|
|
2168
2632
|
responseType: 'text';
|
|
2169
2633
|
withCredentials?: boolean;
|
|
2634
|
+
credentials?: RequestCredentials;
|
|
2170
2635
|
keepalive?: boolean;
|
|
2636
|
+
priority?: RequestPriority;
|
|
2637
|
+
cache?: RequestCache;
|
|
2638
|
+
mode?: RequestMode;
|
|
2639
|
+
redirect?: RequestRedirect;
|
|
2171
2640
|
transferCache?: {
|
|
2172
2641
|
includeHeaders?: string[];
|
|
2173
2642
|
} | boolean;
|
|
@@ -2191,7 +2660,12 @@ declare class HttpClient {
|
|
|
2191
2660
|
reportProgress?: boolean;
|
|
2192
2661
|
responseType: 'arraybuffer';
|
|
2193
2662
|
withCredentials?: boolean;
|
|
2663
|
+
credentials?: RequestCredentials;
|
|
2194
2664
|
keepalive?: boolean;
|
|
2665
|
+
priority?: RequestPriority;
|
|
2666
|
+
cache?: RequestCache;
|
|
2667
|
+
mode?: RequestMode;
|
|
2668
|
+
redirect?: RequestRedirect;
|
|
2195
2669
|
transferCache?: {
|
|
2196
2670
|
includeHeaders?: string[];
|
|
2197
2671
|
} | boolean;
|
|
@@ -2214,7 +2688,12 @@ declare class HttpClient {
|
|
|
2214
2688
|
reportProgress?: boolean;
|
|
2215
2689
|
responseType: 'blob';
|
|
2216
2690
|
withCredentials?: boolean;
|
|
2691
|
+
credentials?: RequestCredentials;
|
|
2217
2692
|
keepalive?: boolean;
|
|
2693
|
+
priority?: RequestPriority;
|
|
2694
|
+
cache?: RequestCache;
|
|
2695
|
+
mode?: RequestMode;
|
|
2696
|
+
redirect?: RequestRedirect;
|
|
2218
2697
|
transferCache?: {
|
|
2219
2698
|
includeHeaders?: string[];
|
|
2220
2699
|
} | boolean;
|
|
@@ -2238,7 +2717,12 @@ declare class HttpClient {
|
|
|
2238
2717
|
reportProgress?: boolean;
|
|
2239
2718
|
responseType: 'text';
|
|
2240
2719
|
withCredentials?: boolean;
|
|
2720
|
+
credentials?: RequestCredentials;
|
|
2241
2721
|
keepalive?: boolean;
|
|
2722
|
+
priority?: RequestPriority;
|
|
2723
|
+
cache?: RequestCache;
|
|
2724
|
+
mode?: RequestMode;
|
|
2725
|
+
redirect?: RequestRedirect;
|
|
2242
2726
|
transferCache?: {
|
|
2243
2727
|
includeHeaders?: string[];
|
|
2244
2728
|
} | boolean;
|
|
@@ -2262,7 +2746,12 @@ declare class HttpClient {
|
|
|
2262
2746
|
reportProgress?: boolean;
|
|
2263
2747
|
responseType?: 'json';
|
|
2264
2748
|
withCredentials?: boolean;
|
|
2749
|
+
credentials?: RequestCredentials;
|
|
2265
2750
|
keepalive?: boolean;
|
|
2751
|
+
priority?: RequestPriority;
|
|
2752
|
+
cache?: RequestCache;
|
|
2753
|
+
mode?: RequestMode;
|
|
2754
|
+
redirect?: RequestRedirect;
|
|
2266
2755
|
transferCache?: {
|
|
2267
2756
|
includeHeaders?: string[];
|
|
2268
2757
|
} | boolean;
|
|
@@ -2286,7 +2775,12 @@ declare class HttpClient {
|
|
|
2286
2775
|
reportProgress?: boolean;
|
|
2287
2776
|
responseType?: 'json';
|
|
2288
2777
|
withCredentials?: boolean;
|
|
2778
|
+
credentials?: RequestCredentials;
|
|
2289
2779
|
keepalive?: boolean;
|
|
2780
|
+
priority?: RequestPriority;
|
|
2781
|
+
cache?: RequestCache;
|
|
2782
|
+
mode?: RequestMode;
|
|
2783
|
+
redirect?: RequestRedirect;
|
|
2290
2784
|
transferCache?: {
|
|
2291
2785
|
includeHeaders?: string[];
|
|
2292
2786
|
} | boolean;
|
|
@@ -2310,7 +2804,12 @@ declare class HttpClient {
|
|
|
2310
2804
|
reportProgress?: boolean;
|
|
2311
2805
|
responseType: 'arraybuffer';
|
|
2312
2806
|
withCredentials?: boolean;
|
|
2807
|
+
credentials?: RequestCredentials;
|
|
2313
2808
|
keepalive?: boolean;
|
|
2809
|
+
priority?: RequestPriority;
|
|
2810
|
+
cache?: RequestCache;
|
|
2811
|
+
mode?: RequestMode;
|
|
2812
|
+
redirect?: RequestRedirect;
|
|
2314
2813
|
transferCache?: {
|
|
2315
2814
|
includeHeaders?: string[];
|
|
2316
2815
|
} | boolean;
|
|
@@ -2334,7 +2833,12 @@ declare class HttpClient {
|
|
|
2334
2833
|
reportProgress?: boolean;
|
|
2335
2834
|
responseType: 'blob';
|
|
2336
2835
|
withCredentials?: boolean;
|
|
2836
|
+
credentials?: RequestCredentials;
|
|
2337
2837
|
keepalive?: boolean;
|
|
2838
|
+
priority?: RequestPriority;
|
|
2839
|
+
cache?: RequestCache;
|
|
2840
|
+
mode?: RequestMode;
|
|
2841
|
+
redirect?: RequestRedirect;
|
|
2338
2842
|
transferCache?: {
|
|
2339
2843
|
includeHeaders?: string[];
|
|
2340
2844
|
} | boolean;
|
|
@@ -2358,7 +2862,12 @@ declare class HttpClient {
|
|
|
2358
2862
|
reportProgress?: boolean;
|
|
2359
2863
|
responseType: 'text';
|
|
2360
2864
|
withCredentials?: boolean;
|
|
2865
|
+
credentials?: RequestCredentials;
|
|
2361
2866
|
keepalive?: boolean;
|
|
2867
|
+
priority?: RequestPriority;
|
|
2868
|
+
cache?: RequestCache;
|
|
2869
|
+
mode?: RequestMode;
|
|
2870
|
+
redirect?: RequestRedirect;
|
|
2362
2871
|
transferCache?: {
|
|
2363
2872
|
includeHeaders?: string[];
|
|
2364
2873
|
} | boolean;
|
|
@@ -2382,7 +2891,12 @@ declare class HttpClient {
|
|
|
2382
2891
|
reportProgress?: boolean;
|
|
2383
2892
|
responseType?: 'json';
|
|
2384
2893
|
withCredentials?: boolean;
|
|
2894
|
+
credentials?: RequestCredentials;
|
|
2385
2895
|
keepalive?: boolean;
|
|
2896
|
+
priority?: RequestPriority;
|
|
2897
|
+
cache?: RequestCache;
|
|
2898
|
+
mode?: RequestMode;
|
|
2899
|
+
redirect?: RequestRedirect;
|
|
2386
2900
|
transferCache?: {
|
|
2387
2901
|
includeHeaders?: string[];
|
|
2388
2902
|
} | boolean;
|
|
@@ -2407,7 +2921,12 @@ declare class HttpClient {
|
|
|
2407
2921
|
reportProgress?: boolean;
|
|
2408
2922
|
responseType?: 'json';
|
|
2409
2923
|
withCredentials?: boolean;
|
|
2924
|
+
credentials?: RequestCredentials;
|
|
2410
2925
|
keepalive?: boolean;
|
|
2926
|
+
priority?: RequestPriority;
|
|
2927
|
+
cache?: RequestCache;
|
|
2928
|
+
mode?: RequestMode;
|
|
2929
|
+
redirect?: RequestRedirect;
|
|
2411
2930
|
transferCache?: {
|
|
2412
2931
|
includeHeaders?: string[];
|
|
2413
2932
|
} | boolean;
|
|
@@ -2430,7 +2949,12 @@ declare class HttpClient {
|
|
|
2430
2949
|
reportProgress?: boolean;
|
|
2431
2950
|
responseType?: 'json';
|
|
2432
2951
|
withCredentials?: boolean;
|
|
2952
|
+
credentials?: RequestCredentials;
|
|
2433
2953
|
keepalive?: boolean;
|
|
2954
|
+
priority?: RequestPriority;
|
|
2955
|
+
cache?: RequestCache;
|
|
2956
|
+
mode?: RequestMode;
|
|
2957
|
+
redirect?: RequestRedirect;
|
|
2434
2958
|
transferCache?: {
|
|
2435
2959
|
includeHeaders?: string[];
|
|
2436
2960
|
} | boolean;
|
|
@@ -2454,7 +2978,12 @@ declare class HttpClient {
|
|
|
2454
2978
|
reportProgress?: boolean;
|
|
2455
2979
|
responseType?: 'json';
|
|
2456
2980
|
withCredentials?: boolean;
|
|
2981
|
+
credentials?: RequestCredentials;
|
|
2457
2982
|
keepalive?: boolean;
|
|
2983
|
+
priority?: RequestPriority;
|
|
2984
|
+
cache?: RequestCache;
|
|
2985
|
+
mode?: RequestMode;
|
|
2986
|
+
redirect?: RequestRedirect;
|
|
2458
2987
|
transferCache?: {
|
|
2459
2988
|
includeHeaders?: string[];
|
|
2460
2989
|
} | boolean;
|
|
@@ -2477,7 +3006,12 @@ declare class HttpClient {
|
|
|
2477
3006
|
reportProgress?: boolean;
|
|
2478
3007
|
responseType: 'arraybuffer';
|
|
2479
3008
|
withCredentials?: boolean;
|
|
3009
|
+
credentials?: RequestCredentials;
|
|
2480
3010
|
keepalive?: boolean;
|
|
3011
|
+
priority?: RequestPriority;
|
|
3012
|
+
cache?: RequestCache;
|
|
3013
|
+
mode?: RequestMode;
|
|
3014
|
+
redirect?: RequestRedirect;
|
|
2481
3015
|
}): Observable<ArrayBuffer>;
|
|
2482
3016
|
/**
|
|
2483
3017
|
* Constructs a `PUT` request that interprets the body as a `Blob` and returns
|
|
@@ -2497,7 +3031,12 @@ declare class HttpClient {
|
|
|
2497
3031
|
reportProgress?: boolean;
|
|
2498
3032
|
responseType: 'blob';
|
|
2499
3033
|
withCredentials?: boolean;
|
|
3034
|
+
credentials?: RequestCredentials;
|
|
2500
3035
|
keepalive?: boolean;
|
|
3036
|
+
priority?: RequestPriority;
|
|
3037
|
+
cache?: RequestCache;
|
|
3038
|
+
mode?: RequestMode;
|
|
3039
|
+
redirect?: RequestRedirect;
|
|
2501
3040
|
}): Observable<Blob>;
|
|
2502
3041
|
/**
|
|
2503
3042
|
* Constructs a `PUT` request that interprets the body as a text string and
|
|
@@ -2517,7 +3056,12 @@ declare class HttpClient {
|
|
|
2517
3056
|
reportProgress?: boolean;
|
|
2518
3057
|
responseType: 'text';
|
|
2519
3058
|
withCredentials?: boolean;
|
|
3059
|
+
credentials?: RequestCredentials;
|
|
2520
3060
|
keepalive?: boolean;
|
|
3061
|
+
priority?: RequestPriority;
|
|
3062
|
+
cache?: RequestCache;
|
|
3063
|
+
mode?: RequestMode;
|
|
3064
|
+
redirect?: RequestRedirect;
|
|
2521
3065
|
}): Observable<string>;
|
|
2522
3066
|
/**
|
|
2523
3067
|
* Constructs a `PUT` request that interprets the body as an `ArrayBuffer` and
|
|
@@ -2538,7 +3082,12 @@ declare class HttpClient {
|
|
|
2538
3082
|
reportProgress?: boolean;
|
|
2539
3083
|
responseType: 'arraybuffer';
|
|
2540
3084
|
withCredentials?: boolean;
|
|
3085
|
+
credentials?: RequestCredentials;
|
|
2541
3086
|
keepalive?: boolean;
|
|
3087
|
+
priority?: RequestPriority;
|
|
3088
|
+
cache?: RequestCache;
|
|
3089
|
+
mode?: RequestMode;
|
|
3090
|
+
redirect?: RequestRedirect;
|
|
2542
3091
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
2543
3092
|
/**
|
|
2544
3093
|
* Constructs a `PUT` request that interprets the body as a `Blob` and returns the full event
|
|
@@ -2559,7 +3108,12 @@ declare class HttpClient {
|
|
|
2559
3108
|
reportProgress?: boolean;
|
|
2560
3109
|
responseType: 'blob';
|
|
2561
3110
|
withCredentials?: boolean;
|
|
3111
|
+
credentials?: RequestCredentials;
|
|
2562
3112
|
keepalive?: boolean;
|
|
3113
|
+
priority?: RequestPriority;
|
|
3114
|
+
cache?: RequestCache;
|
|
3115
|
+
mode?: RequestMode;
|
|
3116
|
+
redirect?: RequestRedirect;
|
|
2563
3117
|
}): Observable<HttpEvent<Blob>>;
|
|
2564
3118
|
/**
|
|
2565
3119
|
* Constructs a `PUT` request that interprets the body as a text string and returns the full event
|
|
@@ -2580,7 +3134,12 @@ declare class HttpClient {
|
|
|
2580
3134
|
reportProgress?: boolean;
|
|
2581
3135
|
responseType: 'text';
|
|
2582
3136
|
withCredentials?: boolean;
|
|
3137
|
+
credentials?: RequestCredentials;
|
|
2583
3138
|
keepalive?: boolean;
|
|
3139
|
+
priority?: RequestPriority;
|
|
3140
|
+
cache?: RequestCache;
|
|
3141
|
+
mode?: RequestMode;
|
|
3142
|
+
redirect?: RequestRedirect;
|
|
2584
3143
|
}): Observable<HttpEvent<string>>;
|
|
2585
3144
|
/**
|
|
2586
3145
|
* Constructs a `PUT` request that interprets the body as JSON and returns the full
|
|
@@ -2601,7 +3160,12 @@ declare class HttpClient {
|
|
|
2601
3160
|
reportProgress?: boolean;
|
|
2602
3161
|
responseType?: 'json';
|
|
2603
3162
|
withCredentials?: boolean;
|
|
3163
|
+
credentials?: RequestCredentials;
|
|
2604
3164
|
keepalive?: boolean;
|
|
3165
|
+
priority?: RequestPriority;
|
|
3166
|
+
cache?: RequestCache;
|
|
3167
|
+
mode?: RequestMode;
|
|
3168
|
+
redirect?: RequestRedirect;
|
|
2605
3169
|
}): Observable<HttpEvent<Object>>;
|
|
2606
3170
|
/**
|
|
2607
3171
|
* Constructs a `PUT` request that interprets the body as JSON and returns the
|
|
@@ -2622,7 +3186,12 @@ declare class HttpClient {
|
|
|
2622
3186
|
reportProgress?: boolean;
|
|
2623
3187
|
responseType?: 'json';
|
|
2624
3188
|
withCredentials?: boolean;
|
|
3189
|
+
credentials?: RequestCredentials;
|
|
2625
3190
|
keepalive?: boolean;
|
|
3191
|
+
priority?: RequestPriority;
|
|
3192
|
+
cache?: RequestCache;
|
|
3193
|
+
mode?: RequestMode;
|
|
3194
|
+
redirect?: RequestRedirect;
|
|
2626
3195
|
}): Observable<HttpEvent<T>>;
|
|
2627
3196
|
/**
|
|
2628
3197
|
* Constructs a `PUT` request that interprets the body as an
|
|
@@ -2643,7 +3212,12 @@ declare class HttpClient {
|
|
|
2643
3212
|
reportProgress?: boolean;
|
|
2644
3213
|
responseType: 'arraybuffer';
|
|
2645
3214
|
withCredentials?: boolean;
|
|
3215
|
+
credentials?: RequestCredentials;
|
|
2646
3216
|
keepalive?: boolean;
|
|
3217
|
+
priority?: RequestPriority;
|
|
3218
|
+
cache?: RequestCache;
|
|
3219
|
+
mode?: RequestMode;
|
|
3220
|
+
redirect?: RequestRedirect;
|
|
2647
3221
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
2648
3222
|
/**
|
|
2649
3223
|
* Constructs a `PUT` request that interprets the body as a `Blob` and returns the
|
|
@@ -2664,7 +3238,12 @@ declare class HttpClient {
|
|
|
2664
3238
|
reportProgress?: boolean;
|
|
2665
3239
|
responseType: 'blob';
|
|
2666
3240
|
withCredentials?: boolean;
|
|
3241
|
+
credentials?: RequestCredentials;
|
|
2667
3242
|
keepalive?: boolean;
|
|
3243
|
+
priority?: RequestPriority;
|
|
3244
|
+
cache?: RequestCache;
|
|
3245
|
+
mode?: RequestMode;
|
|
3246
|
+
redirect?: RequestRedirect;
|
|
2668
3247
|
}): Observable<HttpResponse<Blob>>;
|
|
2669
3248
|
/**
|
|
2670
3249
|
* Constructs a `PUT` request that interprets the body as a text stream and returns the
|
|
@@ -2685,7 +3264,12 @@ declare class HttpClient {
|
|
|
2685
3264
|
reportProgress?: boolean;
|
|
2686
3265
|
responseType: 'text';
|
|
2687
3266
|
withCredentials?: boolean;
|
|
3267
|
+
credentials?: RequestCredentials;
|
|
2688
3268
|
keepalive?: boolean;
|
|
3269
|
+
priority?: RequestPriority;
|
|
3270
|
+
cache?: RequestCache;
|
|
3271
|
+
mode?: RequestMode;
|
|
3272
|
+
redirect?: RequestRedirect;
|
|
2689
3273
|
}): Observable<HttpResponse<string>>;
|
|
2690
3274
|
/**
|
|
2691
3275
|
* Constructs a `PUT` request that interprets the body as JSON and returns the full
|
|
@@ -2706,7 +3290,12 @@ declare class HttpClient {
|
|
|
2706
3290
|
reportProgress?: boolean;
|
|
2707
3291
|
responseType?: 'json';
|
|
2708
3292
|
withCredentials?: boolean;
|
|
3293
|
+
credentials?: RequestCredentials;
|
|
2709
3294
|
keepalive?: boolean;
|
|
3295
|
+
priority?: RequestPriority;
|
|
3296
|
+
cache?: RequestCache;
|
|
3297
|
+
mode?: RequestMode;
|
|
3298
|
+
redirect?: RequestRedirect;
|
|
2710
3299
|
}): Observable<HttpResponse<Object>>;
|
|
2711
3300
|
/**
|
|
2712
3301
|
* Constructs a `PUT` request that interprets the body as an instance of the requested type and
|
|
@@ -2727,7 +3316,12 @@ declare class HttpClient {
|
|
|
2727
3316
|
reportProgress?: boolean;
|
|
2728
3317
|
responseType?: 'json';
|
|
2729
3318
|
withCredentials?: boolean;
|
|
3319
|
+
credentials?: RequestCredentials;
|
|
2730
3320
|
keepalive?: boolean;
|
|
3321
|
+
priority?: RequestPriority;
|
|
3322
|
+
cache?: RequestCache;
|
|
3323
|
+
mode?: RequestMode;
|
|
3324
|
+
redirect?: RequestRedirect;
|
|
2731
3325
|
}): Observable<HttpResponse<T>>;
|
|
2732
3326
|
/**
|
|
2733
3327
|
* Constructs a `PUT` request that interprets the body as JSON
|
|
@@ -2747,7 +3341,12 @@ declare class HttpClient {
|
|
|
2747
3341
|
reportProgress?: boolean;
|
|
2748
3342
|
responseType?: 'json';
|
|
2749
3343
|
withCredentials?: boolean;
|
|
3344
|
+
credentials?: RequestCredentials;
|
|
2750
3345
|
keepalive?: boolean;
|
|
3346
|
+
priority?: RequestPriority;
|
|
3347
|
+
cache?: RequestCache;
|
|
3348
|
+
mode?: RequestMode;
|
|
3349
|
+
redirect?: RequestRedirect;
|
|
2751
3350
|
}): Observable<Object>;
|
|
2752
3351
|
/**
|
|
2753
3352
|
* Constructs a `PUT` request that interprets the body as an instance of the requested type
|
|
@@ -2767,7 +3366,12 @@ declare class HttpClient {
|
|
|
2767
3366
|
reportProgress?: boolean;
|
|
2768
3367
|
responseType?: 'json';
|
|
2769
3368
|
withCredentials?: boolean;
|
|
3369
|
+
credentials?: RequestCredentials;
|
|
2770
3370
|
keepalive?: boolean;
|
|
3371
|
+
priority?: RequestPriority;
|
|
3372
|
+
cache?: RequestCache;
|
|
3373
|
+
mode?: RequestMode;
|
|
3374
|
+
redirect?: RequestRedirect;
|
|
2771
3375
|
}): Observable<T>;
|
|
2772
3376
|
static ɵfac: i0.ɵɵFactoryDeclaration<HttpClient, never>;
|
|
2773
3377
|
static ɵprov: i0.ɵɵInjectableDeclaration<HttpClient>;
|
|
@@ -3165,6 +3769,34 @@ interface HttpResourceRequest {
|
|
|
3165
3769
|
* the request.
|
|
3166
3770
|
*/
|
|
3167
3771
|
withCredentials?: boolean;
|
|
3772
|
+
/**
|
|
3773
|
+
* When using the fetch implementation and set to `true`, the browser will not abort the associated request if the page that initiated it is unloaded before the request is complete.
|
|
3774
|
+
*/
|
|
3775
|
+
keepalive?: boolean;
|
|
3776
|
+
/**
|
|
3777
|
+
* Controls how the request will interact with the browser's HTTP cache.
|
|
3778
|
+
* This affects whether a response is retrieved from the cache, how it is stored, or if it bypasses the cache altogether.
|
|
3779
|
+
*/
|
|
3780
|
+
cache?: RequestCache | (string & {});
|
|
3781
|
+
/**
|
|
3782
|
+
* The credentials mode of the request, which determines how cookies and other authentication information are handled.
|
|
3783
|
+
* This can affect whether credentials are sent with cross-origin requests or not.
|
|
3784
|
+
*/
|
|
3785
|
+
credentials?: RequestCredentials | (string & {});
|
|
3786
|
+
/**
|
|
3787
|
+
* Indicates the relative priority of the request. This may be used by the browser to decide the order in which requests are dispatched and resources fetched.
|
|
3788
|
+
*/
|
|
3789
|
+
priority?: RequestPriority | (string & {});
|
|
3790
|
+
/**
|
|
3791
|
+
* The mode of the request, which determines how the request will interact with the browser's security model.
|
|
3792
|
+
* This can affect things like CORS (Cross-Origin Resource Sharing) and same-origin policies.
|
|
3793
|
+
*/
|
|
3794
|
+
mode?: RequestMode | (string & {});
|
|
3795
|
+
/**
|
|
3796
|
+
* The redirect mode of the request, which determines how redirects are handled.
|
|
3797
|
+
* This can affect whether the request follows redirects automatically, or if it fails when a redirect occurs.
|
|
3798
|
+
*/
|
|
3799
|
+
redirect?: RequestRedirect | (string & {});
|
|
3168
3800
|
/**
|
|
3169
3801
|
* Configures the server-side rendering transfer cache for this request.
|
|
3170
3802
|
*
|
|
@@ -3173,6 +3805,10 @@ interface HttpResourceRequest {
|
|
|
3173
3805
|
transferCache?: {
|
|
3174
3806
|
includeHeaders?: string[];
|
|
3175
3807
|
} | boolean;
|
|
3808
|
+
/**
|
|
3809
|
+
* The timeout for the backend HTTP request in ms.
|
|
3810
|
+
*/
|
|
3811
|
+
timeout?: number;
|
|
3176
3812
|
}
|
|
3177
3813
|
/**
|
|
3178
3814
|
* Options for creating an `httpResource`.
|