HttpInterceptor
Defined in: intercept-http.ts:96
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
addRule |
(rule) => InterceptHandle |
Add a new interception rule | intercept-http.ts:98 |
clearAll |
() => void |
Remove all rules | intercept-http.ts:100 |
restore |
() => void |
Remove all rules AND restore original fetch/XHR | intercept-http.ts:102 |