RequestInterceptedEventArgs Class |
Namespace: CefSharp.DevTools.Network
The RequestInterceptedEventArgs type exposes the following members.
Name | Description | |
---|---|---|
RequestInterceptedEventArgs | Initializes a new instance of the RequestInterceptedEventArgs class |
Name | Description | |
---|---|---|
AuthChallenge |
Details of the Authorization Challenge encountered. If this is set then
continueInterceptedRequest must contain an authChallengeResponse.
| |
FrameId |
The id of the frame that initiated the request.
| |
InterceptionId |
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.
| |
IsDownload |
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).
| |
IsNavigationRequest |
Whether this is a navigation request, which can abort the navigation completely.
| |
RedirectUrl |
Redirect location, only sent if a redirect was intercepted.
| |
Request |
Request
| |
RequestId |
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.
| |
ResourceType |
How the requested resource will be used.
| |
ResponseErrorReason |
Response error if intercepted at response stage or if redirect occurred while intercepting
request.
| |
ResponseHeaders |
Response headers if intercepted at the response stage or if redirect occurred while
intercepting request or auth retry occurred.
| |
ResponseStatusCode |
Response code if intercepted at response stage or if redirect occurred while intercepting
request or auth retry occurred.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |