onBeforeRequest property

EventStream<OnBeforeRequestDetails> get onBeforeRequest

Fired when a request is about to occur.

Implementation

EventStream<OnBeforeRequestDetails> get onBeforeRequest =>
    $js.chrome.webRequest.onBeforeRequest
        .asStream(($c) => ($js.OnBeforeRequestDetails details) {
              return $c(OnBeforeRequestDetails.fromJS(details));
            });