Click or drag to resize

RequestInterceptedEventArgs Class

Version 130.1.90
Details of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked. Deprecated, use Fetch.requestPaused instead.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    CefSharp.DevToolsDevToolsDomainEventArgsBase
      CefSharp.DevTools.NetworkRequestInterceptedEventArgs

Namespace: CefSharp.DevTools.Network
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public class RequestInterceptedEventArgs : DevToolsDomainEventArgsBase

The RequestInterceptedEventArgs type exposes the following members.

Constructors
 NameDescription
Public methodRequestInterceptedEventArgsInitializes a new instance of the RequestInterceptedEventArgs class
Top
Properties
 NameDescription
Public propertyAuthChallenge Details of the Authorization Challenge encountered. If this is set then continueInterceptedRequest must contain an authChallengeResponse.
Public propertyFrameId The id of the frame that initiated the request.
Public propertyInterceptionId Each request the page makes will have a unique id, however if any redirects are encountered while processing that fetch, they will be reported with the same id as the original fetch. Likewise if HTTP authentication is needed then the same fetch id will be used.
Public propertyIsDownload Set if the request is a navigation that will result in a download. Only present after response is received from the server (i.e. HeadersReceived stage).
Public propertyIsNavigationRequest Whether this is a navigation request, which can abort the navigation completely.
Public propertyRedirectUrl Redirect location, only sent if a redirect was intercepted.
Public propertyRequest Request
Public propertyRequestId If the intercepted request had a corresponding requestWillBeSent event fired for it, then this requestId will be the same as the requestId present in the requestWillBeSent event.
Public propertyResourceType How the requested resource will be used.
Public propertyResponseErrorReason Response error if intercepted at response stage or if redirect occurred while intercepting request.
Public propertyResponseHeaders Response headers if intercepted at the response stage or if redirect occurred while intercepting request or auth retry occurred.
Public propertyResponseStatusCode Response code if intercepted at response stage or if redirect occurred while intercepting request or auth retry occurred.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also