redirectUrl property

String? get redirectUrl

Only used as a response to the onBeforeRequest and onHeadersReceived events. If set, the original request is prevented from being sent/completed and is instead redirected to the given URL. Redirections to non-HTTP schemes such as data: are allowed. Redirects initiated by a redirect action use the original request method for the redirect, with one exception: If the redirect is initiated at the onHeadersReceived stage, then the redirect will be issued using the GET method. Redirects from URLs with ws:// and wss:// schemes are ignored.

Implementation

String? get redirectUrl => _wrapped.redirectUrl;
set redirectUrl (String? v)

Implementation

set redirectUrl(String? v) {
  _wrapped.redirectUrl = v;
}