fix(common): expose reportProgress option on HttpClient API (#18083)

This commit is contained in:
Alex Rickabaugh 2017-07-13 16:19:52 -07:00 committed by Igor Minar
parent ddb766e456
commit 9f28e838d3
3 changed files with 365 additions and 75 deletions

File diff suppressed because it is too large Load Diff

View File

@ -76,6 +76,12 @@ export function main() {
}); });
backend.expectOne('/test').flush({'data': 'hello world'}); backend.expectOne('/test').flush({'data': 'hello world'});
}); });
it('with progress events enabled', (done: DoneFn) => {
client.get('/test', {reportProgress: true}).subscribe(() => done());
const req = backend.expectOne('/test');
expect(req.request.reportProgress).toEqual(true);
req.flush({});
});
}); });
describe('makes a POST request', () => { describe('makes a POST request', () => {
it('with text data', (done: DoneFn) => { it('with text data', (done: DoneFn) => {

View File

@ -13,6 +13,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<T>; }): Observable<T>;
@ -20,6 +21,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Object>; }): Observable<Object>;
@ -27,6 +29,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<ArrayBuffer>; }): Observable<ArrayBuffer>;
@ -34,6 +37,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Blob>; }): Observable<Blob>;
@ -41,6 +45,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<string>; }): Observable<string>;
@ -48,6 +53,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<ArrayBuffer>>; }): Observable<HttpEvent<ArrayBuffer>>;
@ -55,6 +61,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Blob>>; }): Observable<HttpEvent<Blob>>;
@ -62,6 +69,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<string>>; }): Observable<HttpEvent<string>>;
@ -69,6 +77,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Object>>; }): Observable<HttpEvent<Object>>;
@ -76,6 +85,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<T>>; }): Observable<HttpEvent<T>>;
@ -83,6 +93,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<ArrayBuffer>>; }): Observable<HttpResponse<ArrayBuffer>>;
@ -90,6 +101,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Blob>>; }): Observable<HttpResponse<Blob>>;
@ -97,6 +109,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<string>>; }): Observable<HttpResponse<string>>;
@ -104,6 +117,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Object>>; }): Observable<HttpResponse<Object>>;
@ -111,6 +125,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<T>>; }): Observable<HttpResponse<T>>;
@ -118,6 +133,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<string>>; }): Observable<HttpEvent<string>>;
@ -125,6 +141,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Object>; }): Observable<Object>;
@ -132,6 +149,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<ArrayBuffer>; }): Observable<ArrayBuffer>;
@ -139,6 +157,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Blob>; }): Observable<Blob>;
@ -146,6 +165,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<string>; }): Observable<string>;
@ -153,6 +173,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<ArrayBuffer>>; }): Observable<HttpEvent<ArrayBuffer>>;
@ -160,6 +181,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Blob>>; }): Observable<HttpEvent<Blob>>;
@ -167,6 +189,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<T>; }): Observable<T>;
@ -174,6 +197,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Object>>; }): Observable<HttpEvent<Object>>;
@ -181,6 +205,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<T>>; }): Observable<HttpEvent<T>>;
@ -188,6 +213,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<ArrayBuffer>>; }): Observable<HttpResponse<ArrayBuffer>>;
@ -195,6 +221,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Blob>>; }): Observable<HttpResponse<Blob>>;
@ -202,6 +229,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<string>>; }): Observable<HttpResponse<string>>;
@ -209,6 +237,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Object>>; }): Observable<HttpResponse<Object>>;
@ -216,6 +245,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<T>>; }): Observable<HttpResponse<T>>;
@ -223,6 +253,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<T>; }): Observable<T>;
@ -230,6 +261,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Object>; }): Observable<Object>;
@ -237,6 +269,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<T>>; }): Observable<HttpResponse<T>>;
@ -244,6 +277,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Object>>; }): Observable<HttpResponse<Object>>;
@ -251,6 +285,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<string>>; }): Observable<HttpResponse<string>>;
@ -258,6 +293,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Blob>>; }): Observable<HttpResponse<Blob>>;
@ -265,6 +301,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<ArrayBuffer>>; }): Observable<HttpResponse<ArrayBuffer>>;
@ -272,6 +309,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<T>>; }): Observable<HttpEvent<T>>;
@ -279,6 +317,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Object>>; }): Observable<HttpEvent<Object>>;
@ -286,6 +325,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<string>>; }): Observable<HttpEvent<string>>;
@ -293,6 +333,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Blob>>; }): Observable<HttpEvent<Blob>>;
@ -300,6 +341,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<ArrayBuffer>>; }): Observable<HttpEvent<ArrayBuffer>>;
@ -307,6 +349,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<string>; }): Observable<string>;
@ -314,6 +357,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Blob>; }): Observable<Blob>;
@ -321,6 +365,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<ArrayBuffer>; }): Observable<ArrayBuffer>;
@ -330,6 +375,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Object>>; }): Observable<HttpEvent<Object>>;
@ -337,6 +383,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<ArrayBuffer>; }): Observable<ArrayBuffer>;
@ -344,6 +391,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Blob>; }): Observable<Blob>;
@ -351,6 +399,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<string>; }): Observable<string>;
@ -358,6 +407,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<ArrayBuffer>>; }): Observable<HttpEvent<ArrayBuffer>>;
@ -365,6 +415,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Blob>>; }): Observable<HttpEvent<Blob>>;
@ -372,6 +423,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<string>>; }): Observable<HttpEvent<string>>;
@ -379,6 +431,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<T>; }): Observable<T>;
@ -386,6 +439,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<T>>; }): Observable<HttpEvent<T>>;
@ -393,6 +447,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<ArrayBuffer>>; }): Observable<HttpResponse<ArrayBuffer>>;
@ -400,6 +455,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Blob>>; }): Observable<HttpResponse<Blob>>;
@ -407,6 +463,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<string>>; }): Observable<HttpResponse<string>>;
@ -414,6 +471,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Object>>; }): Observable<HttpResponse<Object>>;
@ -421,6 +479,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<T>>; }): Observable<HttpResponse<T>>;
@ -428,6 +487,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Object>; }): Observable<Object>;
@ -435,6 +495,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Blob>>; }): Observable<HttpEvent<Blob>>;
@ -442,6 +503,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<string>>; }): Observable<HttpEvent<string>>;
@ -449,6 +511,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<ArrayBuffer>; }): Observable<ArrayBuffer>;
@ -456,6 +519,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Blob>; }): Observable<Blob>;
@ -463,6 +527,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<string>; }): Observable<string>;
@ -470,6 +535,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<ArrayBuffer>>; }): Observable<HttpEvent<ArrayBuffer>>;
@ -477,6 +543,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<T>; }): Observable<T>;
@ -484,6 +551,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Object>; }): Observable<Object>;
@ -491,6 +559,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Object>>; }): Observable<HttpEvent<Object>>;
@ -498,6 +567,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<T>>; }): Observable<HttpEvent<T>>;
@ -505,6 +575,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<ArrayBuffer>>; }): Observable<HttpResponse<ArrayBuffer>>;
@ -512,6 +583,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Blob>>; }): Observable<HttpResponse<Blob>>;
@ -519,6 +591,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<string>>; }): Observable<HttpResponse<string>>;
@ -526,6 +599,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Object>>; }): Observable<HttpResponse<Object>>;
@ -533,6 +607,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<T>>; }): Observable<HttpResponse<T>>;
@ -540,6 +615,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<string>>; }): Observable<HttpEvent<string>>;
@ -547,6 +623,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Object>; }): Observable<Object>;
@ -554,6 +631,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<ArrayBuffer>; }): Observable<ArrayBuffer>;
@ -561,6 +639,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Blob>; }): Observable<Blob>;
@ -568,6 +647,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<string>; }): Observable<string>;
@ -575,6 +655,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<ArrayBuffer>>; }): Observable<HttpEvent<ArrayBuffer>>;
@ -582,6 +663,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Blob>>; }): Observable<HttpEvent<Blob>>;
@ -589,6 +671,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<T>; }): Observable<T>;
@ -596,6 +679,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Object>>; }): Observable<HttpEvent<Object>>;
@ -603,6 +687,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<T>>; }): Observable<HttpEvent<T>>;
@ -610,6 +695,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<ArrayBuffer>>; }): Observable<HttpResponse<ArrayBuffer>>;
@ -617,6 +703,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Blob>>; }): Observable<HttpResponse<Blob>>;
@ -624,6 +711,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<string>>; }): Observable<HttpResponse<string>>;
@ -631,6 +719,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Object>>; }): Observable<HttpResponse<Object>>;
@ -638,6 +727,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<T>>; }): Observable<HttpResponse<T>>;
@ -645,6 +735,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Object>; }): Observable<Object>;
@ -652,6 +743,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<T>>; }): Observable<HttpResponse<T>>;
@ -659,6 +751,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Object>>; }): Observable<HttpResponse<Object>>;
@ -666,6 +759,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<string>>; }): Observable<HttpResponse<string>>;
@ -673,6 +767,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Blob>>; }): Observable<HttpResponse<Blob>>;
@ -680,6 +775,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<ArrayBuffer>>; }): Observable<HttpResponse<ArrayBuffer>>;
@ -693,6 +789,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Object>>; }): Observable<HttpEvent<Object>>;
@ -700,6 +797,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<string>>; }): Observable<HttpEvent<string>>;
@ -707,6 +805,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Blob>>; }): Observable<HttpEvent<Blob>>;
@ -714,6 +813,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<ArrayBuffer>>; }): Observable<HttpEvent<ArrayBuffer>>;
@ -721,6 +821,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<string>; }): Observable<string>;
@ -728,6 +829,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Blob>; }): Observable<Blob>;
@ -735,6 +837,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<ArrayBuffer>; }): Observable<ArrayBuffer>;
@ -742,12 +845,14 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType?: 'json'; responseType?: 'json';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<T>; }): Observable<T>;
request(method: string, url: string, options: { request(method: string, url: string, options: {
body?: any; body?: any;
headers?: HttpHeaders; headers?: HttpHeaders;
reportProgress?: boolean;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
responseType?: 'json'; responseType?: 'json';
@ -759,6 +864,7 @@ export declare class HttpClient {
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
responseType?: 'json'; responseType?: 'json';
reportProgress?: boolean;
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<R>; }): Observable<R>;
request(method: string, url: string, options: { request(method: string, url: string, options: {
@ -766,6 +872,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<ArrayBuffer>; }): Observable<ArrayBuffer>;
@ -774,6 +881,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Blob>; }): Observable<Blob>;
@ -782,6 +890,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<string>; }): Observable<string>;
@ -790,6 +899,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
params?: HttpParams; params?: HttpParams;
observe: 'events'; observe: 'events';
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<ArrayBuffer>>; }): Observable<HttpEvent<ArrayBuffer>>;
@ -798,6 +908,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<Blob>>; }): Observable<HttpEvent<Blob>>;
@ -806,6 +917,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpEvent<string>>; }): Observable<HttpEvent<string>>;
@ -813,6 +925,7 @@ export declare class HttpClient {
request<R>(method: string, url: string, options: { request<R>(method: string, url: string, options: {
body?: any; body?: any;
headers?: HttpHeaders; headers?: HttpHeaders;
reportProgress?: boolean;
observe: 'events'; observe: 'events';
params?: HttpParams; params?: HttpParams;
responseType?: 'json'; responseType?: 'json';
@ -823,6 +936,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'arraybuffer'; responseType: 'arraybuffer';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<ArrayBuffer>>; }): Observable<HttpResponse<ArrayBuffer>>;
@ -831,6 +945,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'blob'; responseType: 'blob';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<Blob>>; }): Observable<HttpResponse<Blob>>;
@ -839,12 +954,14 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
reportProgress?: boolean;
responseType: 'text'; responseType: 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<HttpResponse<string>>; }): Observable<HttpResponse<string>>;
request(method: string, url: string, options: { request(method: string, url: string, options: {
body?: any; body?: any;
headers?: HttpHeaders; headers?: HttpHeaders;
reportProgress?: boolean;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
responseType?: 'json'; responseType?: 'json';
@ -853,6 +970,7 @@ export declare class HttpClient {
request<R>(method: string, url: string, options: { request<R>(method: string, url: string, options: {
body?: any; body?: any;
headers?: HttpHeaders; headers?: HttpHeaders;
reportProgress?: boolean;
observe: 'response'; observe: 'response';
params?: HttpParams; params?: HttpParams;
responseType?: 'json'; responseType?: 'json';
@ -864,6 +982,7 @@ export declare class HttpClient {
observe?: 'body'; observe?: 'body';
params?: HttpParams; params?: HttpParams;
responseType?: 'json'; responseType?: 'json';
reportProgress?: boolean;
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<Object>; }): Observable<Object>;
request(method: string, url: string, options?: { request(method: string, url: string, options?: {
@ -871,6 +990,7 @@ export declare class HttpClient {
headers?: HttpHeaders; headers?: HttpHeaders;
params?: HttpParams; params?: HttpParams;
observe?: HttpObserve; observe?: HttpObserve;
reportProgress?: boolean;
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text'; responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
withCredentials?: boolean; withCredentials?: boolean;
}): Observable<any>; }): Observable<any>;