2017-03-22 20:13:24 -04:00
|
|
|
export declare const HTTP_INTERCEPTORS: InjectionToken<HttpInterceptor[]>;
|
|
|
|
|
|
|
|
export declare abstract class HttpBackend implements HttpHandler {
|
|
|
|
abstract handle(req: HttpRequest<any>): Observable<HttpEvent<any>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
export declare class HttpClient {
|
|
|
|
constructor(handler: HttpHandler);
|
2017-07-12 20:00:23 -04:00
|
|
|
delete(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'arraybuffer';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<ArrayBuffer>;
|
2017-03-22 20:13:24 -04:00
|
|
|
delete(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'blob';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<Blob>;
|
2017-03-22 20:13:24 -04:00
|
|
|
delete(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<string>;
|
2017-03-22 20:13:24 -04:00
|
|
|
delete(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'arraybuffer';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
delete(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'blob';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<HttpEvent<Blob>>;
|
|
|
|
delete(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'text';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<HttpEvent<string>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
delete(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<Object>>;
|
2017-07-12 20:00:23 -04:00
|
|
|
delete<T>(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<HttpEvent<T>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
delete(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'arraybuffer';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
delete(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'blob';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<HttpResponse<Blob>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
delete(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<HttpResponse<string>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
delete(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<HttpResponse<Object>>;
|
|
|
|
delete<T>(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<HttpResponse<T>>;
|
2020-01-24 13:55:39 -05:00
|
|
|
delete(url: string, options?: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType?: 'json';
|
2017-07-12 20:00:23 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<Object>;
|
|
|
|
delete<T>(url: string, options?: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<T>;
|
2017-03-22 20:13:24 -04:00
|
|
|
get(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'arraybuffer';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<ArrayBuffer>;
|
2017-03-22 20:13:24 -04:00
|
|
|
get(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'blob';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<Blob>;
|
2017-07-12 20:00:23 -04:00
|
|
|
get(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<string>;
|
2017-03-22 20:13:24 -04:00
|
|
|
get(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'arraybuffer';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
|
|
get(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'blob';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<Blob>>;
|
2020-01-24 13:55:39 -05:00
|
|
|
get(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'text';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpEvent<string>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
get(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<Object>>;
|
2017-07-12 20:00:23 -04:00
|
|
|
get<T>(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<HttpEvent<T>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
get(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'arraybuffer';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
|
|
get(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'blob';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<Blob>>;
|
|
|
|
get(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<string>>;
|
|
|
|
get(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<Object>>;
|
|
|
|
get<T>(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<T>>;
|
2020-01-24 13:55:39 -05:00
|
|
|
get(url: string, options?: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<Object>;
|
|
|
|
get<T>(url: string, options?: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<T>;
|
|
|
|
head(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'arraybuffer';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<ArrayBuffer>;
|
2017-07-12 20:00:23 -04:00
|
|
|
head(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'blob';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<Blob>;
|
2017-03-22 20:13:24 -04:00
|
|
|
head(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'text';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<string>;
|
2017-03-22 20:13:24 -04:00
|
|
|
head(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'arraybuffer';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
head(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'blob';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpEvent<Blob>>;
|
|
|
|
head(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'text';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpEvent<string>>;
|
2017-07-12 20:00:23 -04:00
|
|
|
head(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<HttpEvent<Object>>;
|
2020-01-24 13:55:39 -05:00
|
|
|
head<T>(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpEvent<T>>;
|
2017-07-12 20:00:23 -04:00
|
|
|
head(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'arraybuffer';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
2017-07-12 20:00:23 -04:00
|
|
|
head(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'blob';
|
2017-07-12 20:00:23 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpResponse<Blob>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
head(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpResponse<string>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
head(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpResponse<Object>>;
|
|
|
|
head<T>(url: string, options: {
|
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
|
|
|
observe: 'response';
|
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
|
|
|
reportProgress?: boolean;
|
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<T>>;
|
|
|
|
head(url: string, options?: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<Object>;
|
|
|
|
head<T>(url: string, options?: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<T>;
|
|
|
|
jsonp(url: string, callbackParam: string): Observable<Object>;
|
|
|
|
jsonp<T>(url: string, callbackParam: string): Observable<T>;
|
2017-03-22 20:13:24 -04:00
|
|
|
options(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'arraybuffer';
|
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<ArrayBuffer>;
|
2017-03-22 20:13:24 -04:00
|
|
|
options(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'blob';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<Blob>;
|
2017-03-22 20:13:24 -04:00
|
|
|
options(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<string>;
|
|
|
|
options(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'arraybuffer';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
|
|
options(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'blob';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<Blob>>;
|
|
|
|
options(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<string>>;
|
2020-01-24 13:55:39 -05:00
|
|
|
options(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpEvent<Object>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
options<T>(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<T>>;
|
|
|
|
options(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'arraybuffer';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
options(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'blob';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<Blob>>;
|
|
|
|
options(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<string>>;
|
|
|
|
options(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<Object>>;
|
|
|
|
options<T>(url: string, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<T>>;
|
|
|
|
options(url: string, options?: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<Object>;
|
2020-01-24 13:55:39 -05:00
|
|
|
options<T>(url: string, options?: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<T>;
|
2017-03-22 20:13:24 -04:00
|
|
|
patch(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'arraybuffer';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<ArrayBuffer>;
|
|
|
|
patch(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'blob';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<Blob>;
|
|
|
|
patch(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<string>;
|
|
|
|
patch(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'arraybuffer';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
2020-01-24 13:55:39 -05:00
|
|
|
patch(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'blob';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpEvent<Blob>>;
|
|
|
|
patch(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'text';
|
2017-07-12 20:00:23 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpEvent<string>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
patch(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<HttpEvent<Object>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
patch<T>(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<T>>;
|
|
|
|
patch(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'arraybuffer';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
|
|
patch(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'blob';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<Blob>>;
|
|
|
|
patch(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<string>>;
|
|
|
|
patch(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<Object>>;
|
|
|
|
patch<T>(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<T>>;
|
2020-01-24 13:55:39 -05:00
|
|
|
patch(url: string, body: any | null, options?: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<Object>;
|
|
|
|
patch<T>(url: string, body: any | null, options?: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<T>;
|
2017-07-12 20:00:23 -04:00
|
|
|
post(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'arraybuffer';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<ArrayBuffer>;
|
2017-03-22 20:13:24 -04:00
|
|
|
post(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'blob';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<Blob>;
|
2017-03-22 20:13:24 -04:00
|
|
|
post(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<string>;
|
|
|
|
post(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'arraybuffer';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
|
|
post(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'blob';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<Blob>>;
|
2020-01-24 13:55:39 -05:00
|
|
|
post(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'text';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpEvent<string>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
post(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<Object>>;
|
2017-07-12 20:00:23 -04:00
|
|
|
post<T>(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
}): Observable<HttpEvent<T>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
post(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'arraybuffer';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
|
|
post(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'blob';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<Blob>>;
|
|
|
|
post(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<string>>;
|
|
|
|
post(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<Object>>;
|
|
|
|
post<T>(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<T>>;
|
2020-01-24 13:55:39 -05:00
|
|
|
post(url: string, body: any | null, options?: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<Object>;
|
2020-01-24 13:55:39 -05:00
|
|
|
post<T>(url: string, body: any | null, options?: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<T>;
|
2017-03-22 20:13:24 -04:00
|
|
|
put(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'arraybuffer';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<ArrayBuffer>;
|
2017-03-22 20:13:24 -04:00
|
|
|
put(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'blob';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<Blob>;
|
2017-03-22 20:13:24 -04:00
|
|
|
put(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'text';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<string>;
|
2017-03-22 20:13:24 -04:00
|
|
|
put(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'arraybuffer';
|
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
put(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'blob';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpEvent<Blob>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
put(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<string>>;
|
|
|
|
put(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpEvent<Object>>;
|
|
|
|
put<T>(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<T>>;
|
|
|
|
put(url: string, body: any | null, options: {
|
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'arraybuffer';
|
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
put(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'blob';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpResponse<Blob>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
put(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType: 'text';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpResponse<string>>;
|
2017-07-12 20:00:23 -04:00
|
|
|
put(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType?: 'json';
|
2017-07-12 20:00:23 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpResponse<Object>>;
|
|
|
|
put<T>(url: string, body: any | null, options: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<HttpResponse<T>>;
|
|
|
|
put(url: string, body: any | null, options?: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2020-01-24 13:55:39 -05:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<Object>;
|
|
|
|
put<T>(url: string, body: any | null, options?: {
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
responseType?: 'json';
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
2020-01-24 13:55:39 -05:00
|
|
|
}): Observable<T>;
|
|
|
|
request<R>(req: HttpRequest<any>): Observable<HttpEvent<R>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
request(method: string, url: string, options: {
|
|
|
|
body?: any;
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'arraybuffer';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<ArrayBuffer>;
|
|
|
|
request(method: string, url: string, options: {
|
|
|
|
body?: any;
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'blob';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<Blob>;
|
|
|
|
request(method: string, url: string, options: {
|
|
|
|
body?: any;
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<string>;
|
|
|
|
request(method: string, url: string, options: {
|
|
|
|
body?: any;
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'arraybuffer';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<ArrayBuffer>>;
|
|
|
|
request(method: string, url: string, options: {
|
|
|
|
body?: any;
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'blob';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<Blob>>;
|
2017-07-12 20:00:23 -04:00
|
|
|
request(method: string, url: string, options: {
|
|
|
|
body?: any;
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<string>>;
|
2020-01-24 13:55:39 -05:00
|
|
|
request(method: string, url: string, options: {
|
|
|
|
body?: any;
|
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
|
|
|
reportProgress?: boolean;
|
|
|
|
observe: 'events';
|
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<any>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
request<R>(method: string, url: string, options: {
|
|
|
|
body?: any;
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'events';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpEvent<R>>;
|
|
|
|
request(method: string, url: string, options: {
|
|
|
|
body?: any;
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'arraybuffer';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<ArrayBuffer>>;
|
|
|
|
request(method: string, url: string, options: {
|
|
|
|
body?: any;
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'blob';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<Blob>>;
|
|
|
|
request(method: string, url: string, options: {
|
|
|
|
body?: any;
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType: 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<string>>;
|
2017-07-12 20:00:23 -04:00
|
|
|
request(method: string, url: string, options: {
|
|
|
|
body?: any;
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-07-12 20:00:23 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-07-12 20:00:23 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<Object>>;
|
2017-03-22 20:13:24 -04:00
|
|
|
request<R>(method: string, url: string, options: {
|
|
|
|
body?: any;
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
observe: 'response';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<HttpResponse<R>>;
|
|
|
|
request(method: string, url: string, options?: {
|
|
|
|
body?: any;
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: 'body';
|
2017-08-01 18:43:39 -04:00
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'json';
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<Object>;
|
2020-01-24 13:55:39 -05:00
|
|
|
request<R>(method: string, url: string, options?: {
|
|
|
|
body?: any;
|
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
|
|
|
observe?: 'body';
|
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
|
|
|
responseType?: 'json';
|
|
|
|
reportProgress?: boolean;
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<R>;
|
2017-03-22 20:13:24 -04:00
|
|
|
request(method: string, url: string, options?: {
|
|
|
|
body?: any;
|
2017-08-01 18:43:39 -04:00
|
|
|
headers?: HttpHeaders | {
|
|
|
|
[header: string]: string | string[];
|
|
|
|
};
|
|
|
|
params?: HttpParams | {
|
|
|
|
[param: string]: string | string[];
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
observe?: HttpObserve;
|
2017-07-13 19:19:52 -04:00
|
|
|
reportProgress?: boolean;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
}): Observable<any>;
|
|
|
|
}
|
|
|
|
|
|
|
|
export declare class HttpClientJsonpModule {
|
|
|
|
}
|
|
|
|
|
|
|
|
export declare class HttpClientModule {
|
|
|
|
}
|
|
|
|
|
2017-07-14 12:44:33 -04:00
|
|
|
export declare class HttpClientXsrfModule {
|
2018-09-14 17:55:16 -04:00
|
|
|
static disable(): ModuleWithProviders<HttpClientXsrfModule>;
|
2017-07-14 12:44:33 -04:00
|
|
|
static withOptions(options?: {
|
|
|
|
cookieName?: string;
|
|
|
|
headerName?: string;
|
2018-09-14 17:55:16 -04:00
|
|
|
}): ModuleWithProviders<HttpClientXsrfModule>;
|
2017-07-14 12:44:33 -04:00
|
|
|
}
|
|
|
|
|
2017-03-22 20:13:24 -04:00
|
|
|
export interface HttpDownloadProgressEvent extends HttpProgressEvent {
|
|
|
|
partialText?: string;
|
|
|
|
type: HttpEventType.DownloadProgress;
|
|
|
|
}
|
|
|
|
|
|
|
|
export declare class HttpErrorResponse extends HttpResponseBase implements Error {
|
|
|
|
readonly error: any | null;
|
|
|
|
readonly message: string;
|
2018-09-27 19:47:19 -04:00
|
|
|
readonly name = "HttpErrorResponse";
|
|
|
|
readonly ok = false;
|
2017-03-22 20:13:24 -04:00
|
|
|
constructor(init: {
|
|
|
|
error?: any;
|
|
|
|
headers?: HttpHeaders;
|
|
|
|
status?: number;
|
|
|
|
statusText?: string;
|
|
|
|
url?: string;
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
export declare type HttpEvent<T> = HttpSentEvent | HttpHeaderResponse | HttpResponse<T> | HttpProgressEvent | HttpUserEvent<T>;
|
|
|
|
|
|
|
|
export declare enum HttpEventType {
|
|
|
|
Sent = 0,
|
|
|
|
UploadProgress = 1,
|
|
|
|
ResponseHeader = 2,
|
|
|
|
DownloadProgress = 3,
|
|
|
|
Response = 4,
|
2018-06-25 05:11:22 -04:00
|
|
|
User = 5
|
2017-03-22 20:13:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
export declare abstract class HttpHandler {
|
|
|
|
abstract handle(req: HttpRequest<any>): Observable<HttpEvent<any>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
export declare class HttpHeaderResponse extends HttpResponseBase {
|
|
|
|
readonly type: HttpEventType.ResponseHeader;
|
|
|
|
constructor(init?: {
|
|
|
|
headers?: HttpHeaders;
|
|
|
|
status?: number;
|
|
|
|
statusText?: string;
|
|
|
|
url?: string;
|
|
|
|
});
|
|
|
|
clone(update?: {
|
|
|
|
headers?: HttpHeaders;
|
|
|
|
status?: number;
|
|
|
|
statusText?: string;
|
|
|
|
url?: string;
|
|
|
|
}): HttpHeaderResponse;
|
|
|
|
}
|
|
|
|
|
|
|
|
export declare class HttpHeaders {
|
|
|
|
constructor(headers?: string | {
|
|
|
|
[name: string]: string | string[];
|
|
|
|
});
|
|
|
|
append(name: string, value: string | string[]): HttpHeaders;
|
|
|
|
delete(name: string, value?: string | string[]): HttpHeaders;
|
|
|
|
get(name: string): string | null;
|
|
|
|
getAll(name: string): string[] | null;
|
|
|
|
has(name: string): boolean;
|
|
|
|
keys(): string[];
|
|
|
|
set(name: string, value: string | string[]): HttpHeaders;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface HttpInterceptor {
|
|
|
|
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
|
|
}
|
|
|
|
|
2017-07-07 17:56:36 -04:00
|
|
|
export interface HttpParameterCodec {
|
|
|
|
decodeKey(key: string): string;
|
|
|
|
decodeValue(value: string): string;
|
|
|
|
encodeKey(key: string): string;
|
|
|
|
encodeValue(value: string): string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export declare class HttpParams {
|
2018-03-26 14:43:14 -04:00
|
|
|
constructor(options?: HttpParamsOptions);
|
2017-07-07 17:56:36 -04:00
|
|
|
append(param: string, value: string): HttpParams;
|
|
|
|
delete(param: string, value?: string): HttpParams;
|
|
|
|
get(param: string): string | null;
|
|
|
|
getAll(param: string): string[] | null;
|
|
|
|
has(param: string): boolean;
|
|
|
|
keys(): string[];
|
|
|
|
set(param: string, value: string): HttpParams;
|
|
|
|
toString(): string;
|
|
|
|
}
|
|
|
|
|
2017-03-22 20:13:24 -04:00
|
|
|
export interface HttpProgressEvent {
|
|
|
|
loaded: number;
|
|
|
|
total?: number;
|
|
|
|
type: HttpEventType.DownloadProgress | HttpEventType.UploadProgress;
|
|
|
|
}
|
|
|
|
|
|
|
|
export declare class HttpRequest<T> {
|
|
|
|
readonly body: T | null;
|
|
|
|
readonly headers: HttpHeaders;
|
|
|
|
readonly method: string;
|
2017-07-07 17:56:36 -04:00
|
|
|
readonly params: HttpParams;
|
2017-03-22 20:13:24 -04:00
|
|
|
readonly reportProgress: boolean;
|
|
|
|
readonly responseType: 'arraybuffer' | 'blob' | 'json' | 'text';
|
2017-07-07 17:56:36 -04:00
|
|
|
readonly url: string;
|
|
|
|
readonly urlWithParams: string;
|
2017-03-22 20:13:24 -04:00
|
|
|
readonly withCredentials: boolean;
|
|
|
|
constructor(method: 'DELETE' | 'GET' | 'HEAD' | 'JSONP' | 'OPTIONS', url: string, init?: {
|
|
|
|
headers?: HttpHeaders;
|
|
|
|
reportProgress?: boolean;
|
2017-07-07 17:56:36 -04:00
|
|
|
params?: HttpParams;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
});
|
|
|
|
constructor(method: 'POST' | 'PUT' | 'PATCH', url: string, body: T | null, init?: {
|
|
|
|
headers?: HttpHeaders;
|
|
|
|
reportProgress?: boolean;
|
2017-07-07 17:56:36 -04:00
|
|
|
params?: HttpParams;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
});
|
|
|
|
constructor(method: string, url: string, body: T | null, init?: {
|
|
|
|
headers?: HttpHeaders;
|
|
|
|
reportProgress?: boolean;
|
2017-07-07 17:56:36 -04:00
|
|
|
params?: HttpParams;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
});
|
|
|
|
clone(): HttpRequest<T>;
|
|
|
|
clone(update: {
|
|
|
|
headers?: HttpHeaders;
|
|
|
|
reportProgress?: boolean;
|
2017-07-07 17:56:36 -04:00
|
|
|
params?: HttpParams;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
|
|
|
|
withCredentials?: boolean;
|
2017-07-07 17:56:36 -04:00
|
|
|
body?: T | null;
|
|
|
|
method?: string;
|
|
|
|
url?: string;
|
|
|
|
setHeaders?: {
|
|
|
|
[name: string]: string | string[];
|
|
|
|
};
|
|
|
|
setParams?: {
|
|
|
|
[param: string]: string;
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
}): HttpRequest<T>;
|
|
|
|
clone<V>(update: {
|
|
|
|
headers?: HttpHeaders;
|
|
|
|
reportProgress?: boolean;
|
2017-07-07 17:56:36 -04:00
|
|
|
params?: HttpParams;
|
2017-03-22 20:13:24 -04:00
|
|
|
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
|
|
|
|
withCredentials?: boolean;
|
|
|
|
body?: V | null;
|
|
|
|
method?: string;
|
|
|
|
url?: string;
|
|
|
|
setHeaders?: {
|
|
|
|
[name: string]: string | string[];
|
|
|
|
};
|
2017-07-07 17:56:36 -04:00
|
|
|
setParams?: {
|
|
|
|
[param: string]: string;
|
|
|
|
};
|
2017-03-22 20:13:24 -04:00
|
|
|
}): HttpRequest<V>;
|
|
|
|
detectContentTypeHeader(): string | null;
|
|
|
|
serializeBody(): ArrayBuffer | Blob | FormData | string | null;
|
|
|
|
}
|
|
|
|
|
|
|
|
export declare class HttpResponse<T> extends HttpResponseBase {
|
|
|
|
readonly body: T | null;
|
|
|
|
readonly type: HttpEventType.Response;
|
|
|
|
constructor(init?: {
|
|
|
|
body?: T | null;
|
|
|
|
headers?: HttpHeaders;
|
|
|
|
status?: number;
|
|
|
|
statusText?: string;
|
|
|
|
url?: string;
|
|
|
|
});
|
|
|
|
clone(): HttpResponse<T>;
|
|
|
|
clone(update: {
|
|
|
|
headers?: HttpHeaders;
|
|
|
|
status?: number;
|
|
|
|
statusText?: string;
|
|
|
|
url?: string;
|
|
|
|
}): HttpResponse<T>;
|
|
|
|
clone<V>(update: {
|
|
|
|
body?: V | null;
|
|
|
|
headers?: HttpHeaders;
|
|
|
|
status?: number;
|
|
|
|
statusText?: string;
|
|
|
|
url?: string;
|
|
|
|
}): HttpResponse<V>;
|
|
|
|
}
|
|
|
|
|
|
|
|
export declare abstract class HttpResponseBase {
|
|
|
|
readonly headers: HttpHeaders;
|
|
|
|
readonly ok: boolean;
|
|
|
|
readonly status: number;
|
|
|
|
readonly statusText: string;
|
|
|
|
readonly type: HttpEventType.Response | HttpEventType.ResponseHeader;
|
|
|
|
readonly url: string | null;
|
|
|
|
constructor(init: {
|
|
|
|
headers?: HttpHeaders;
|
|
|
|
status?: number;
|
|
|
|
statusText?: string;
|
|
|
|
url?: string;
|
|
|
|
}, defaultStatus?: number, defaultStatusText?: string);
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface HttpSentEvent {
|
|
|
|
type: HttpEventType.Sent;
|
2019-06-05 04:06:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface HttpUploadProgressEvent extends HttpProgressEvent {
|
|
|
|
type: HttpEventType.UploadProgress;
|
2017-03-22 20:13:24 -04:00
|
|
|
}
|
|
|
|
|
2017-07-07 17:56:36 -04:00
|
|
|
export declare class HttpUrlEncodingCodec implements HttpParameterCodec {
|
2018-05-03 04:53:12 -04:00
|
|
|
decodeKey(key: string): string;
|
|
|
|
decodeValue(value: string): string;
|
|
|
|
encodeKey(key: string): string;
|
|
|
|
encodeValue(value: string): string;
|
2017-03-22 20:13:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface HttpUserEvent<T> {
|
|
|
|
type: HttpEventType.User;
|
|
|
|
}
|
|
|
|
|
|
|
|
export declare class HttpXhrBackend implements HttpBackend {
|
|
|
|
constructor(xhrFactory: XhrFactory);
|
|
|
|
handle(req: HttpRequest<any>): Observable<HttpEvent<any>>;
|
|
|
|
}
|
|
|
|
|
2017-07-13 20:22:02 -04:00
|
|
|
export declare abstract class HttpXsrfTokenExtractor {
|
|
|
|
abstract getToken(): string | null;
|
|
|
|
}
|
|
|
|
|
2017-03-22 20:13:24 -04:00
|
|
|
export declare class JsonpClientBackend implements HttpBackend {
|
|
|
|
constructor(callbackMap: JsonpCallbackContext, document: any);
|
|
|
|
handle(req: HttpRequest<never>): Observable<HttpEvent<any>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
export declare class JsonpInterceptor {
|
|
|
|
constructor(jsonp: JsonpClientBackend);
|
|
|
|
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
|
|
}
|
|
|
|
|
|
|
|
export declare abstract class XhrFactory {
|
|
|
|
abstract build(): XMLHttpRequest;
|
|
|
|
}
|