ChromeWebRequest class

Properties

hashCode int
The hash code for this object.
no setterinherited
isAvailable bool
no setter
maxHandlerBehaviorChangedCallsPer10Minutes int
The maximum number of times that handlerBehaviorChanged can be called per 10 minute sustained interval. handlerBehaviorChanged is an expensive function call that shouldn't be called often.
no setter
onActionIgnored EventStream<OnActionIgnoredDetails>
Fired when an extension's proposed modification to a network request is ignored. This happens in case of conflicts with other extensions.
no setter
onAuthRequired EventStream<OnAuthRequiredEvent>
Fired when an authentication failure is received. The listener has three options: it can provide authentication credentials, it can cancel the request and display the error page, or it can take no action on the challenge. If bad user credentials are provided, this may be called multiple times for the same request. Note, only one of 'blocking' or 'asyncBlocking' modes must be specified in the extraInfoSpec parameter.
no setter
onBeforeRedirect EventStream<OnBeforeRedirectDetails>
Fired when a server-initiated redirect is about to occur.
no setter
onBeforeRequest EventStream<OnBeforeRequestDetails>
Fired when a request is about to occur.
no setter
onBeforeSendHeaders EventStream<OnBeforeSendHeadersDetails>
Fired before sending an HTTP request, once the request headers are available. This may occur after a TCP connection is made to the server, but before any HTTP data is sent.
no setter
onCompleted EventStream<OnCompletedDetails>
Fired when a request is completed.
no setter
onErrorOccurred EventStream<OnErrorOccurredDetails>
Fired when an error occurs.
no setter
onHeadersReceived EventStream<OnHeadersReceivedDetails>
Fired when HTTP response headers of a request have been received.
no setter
onResponseStarted EventStream<OnResponseStartedDetails>
Fired when the first byte of the response body is received. For HTTP requests, this means that the status line and response headers are available.
no setter
onSendHeaders EventStream<OnSendHeadersDetails>
Fired just before a request is going to be sent to the server (modifications of previous onBeforeSendHeaders callbacks are visible by the time onSendHeaders is fired).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

handlerBehaviorChanged() Future<void>
Needs to be called when the behavior of the webRequest handlers has changed to prevent incorrect handling due to caching. This function call is expensive. Don't call it often.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited