onBeforeRedirect property
EventStream<OnBeforeRedirectDetails>
get
onBeforeRedirect
Fired when a server-initiated redirect is about to occur.
Implementation
EventStream<OnBeforeRedirectDetails> get onBeforeRedirect =>
$js.chrome.webRequest.onBeforeRedirect
.asStream(($c) => ($js.OnBeforeRedirectDetails details) {
return $c(OnBeforeRedirectDetails.fromJS(details));
});