Class ContinueInterceptedRequestCommandSettings
Response to Network.requestIntercepted which either modifies the request to continue with any modifications, or blocks it, or completes it with the provided response bytes. If a network fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted event will be sent with the same InterceptionId. Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
public sealed class ContinueInterceptedRequestCommandSettings : ICommand
- Inheritance
-
ContinueInterceptedRequestCommandSettings
- Implements
- Inherited Members
Properties
AuthChallengeResponse
Response to a requestIntercepted with an authChallenge. Must not be set otherwise.
[JsonPropertyName("authChallengeResponse")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AuthChallengeResponse? AuthChallengeResponse { get; set; }
Property Value
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
ErrorReason
If set this causes the request to fail with the given reason. Passing Aborted for requests
marked with isNavigationRequest also cancels the navigation. Must not be set in response
to an authChallenge.
[JsonPropertyName("errorReason")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ErrorReason? ErrorReason { get; set; }
Property Value
Headers
If set this allows the request headers to be changed. Must not be set in response to an authChallenge.
[JsonPropertyName("headers")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Headers? Headers { get; set; }
Property Value
InterceptionId
Gets or sets the interceptionId
[JsonPropertyName("interceptionId")]
public string InterceptionId { get; set; }
Property Value
Method
If set this allows the request method to be overridden. Must not be set in response to an authChallenge.
[JsonPropertyName("method")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Method { get; set; }
Property Value
PostData
If set this allows postData to be set. Must not be set in response to an authChallenge.
[JsonPropertyName("postData")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? PostData { get; set; }
Property Value
RawResponse
If set the requests completes using with the provided base64 encoded raw response, including HTTP status line and headers etc... Must not be set in response to an authChallenge.
[JsonPropertyName("rawResponse")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? RawResponse { get; set; }
Property Value
Url
If set the request url will be modified in a way that's not observable by page. Must not be set in response to an authChallenge.
[JsonPropertyName("url")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Url { get; set; }