@omnia/fx-models 8.0.455-dev → 8.0.456-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,6 +52,12 @@ export declare class HttpBuilder {
|
|
52
52
|
build(): Http;
|
53
53
|
}
|
54
54
|
export declare class Http {
|
55
|
+
static globalInterceptors: Partial<HttpConfig["interceptors"]>;
|
56
|
+
/**
|
57
|
+
* Set global interceptors for all Http requests
|
58
|
+
* @param interceptors Partial<HttpConfig["interceptors"]>
|
59
|
+
*/
|
60
|
+
static setGlobalInterceptors(interceptors: Partial<HttpConfig["interceptors"]>): void;
|
55
61
|
_baseConfig: HttpConfig | Future<HttpConfig> | Promise<HttpConfig>;
|
56
62
|
/**
|
57
63
|
* Create a new instance of Http using the HttpBuilder
|