onRuleMatchedDebug property

EventStream<MatchedRuleInfoDebug> get onRuleMatchedDebug

Fired when a rule is matched with a request. Only available for unpacked extensions with the declarativeNetRequestFeedback permission as this is intended to be used for debugging purposes only. |info|: The rule that has been matched along with information about the associated request.

Implementation

EventStream<MatchedRuleInfoDebug> get onRuleMatchedDebug =>
    $js.chrome.declarativeNetRequest.onRuleMatchedDebug
        .asStream(($c) => ($js.MatchedRuleInfoDebug info) {
              return $c(MatchedRuleInfoDebug.fromJS(info));
            }.toJS);