Click or drag to resize

RequestInterceptedEventArgs Class

Version 113.3.50
Details of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked. Deprecated, use Fetch.requestPaused instead.
Inheritance Hierarchy

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

The RequestInterceptedEventArgs type exposes the following members.

Constructors
  NameDescription
Public methodRequestInterceptedEventArgs
Initializes 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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also