ContinueInterceptedRequestParameter

@Serializable
data class ContinueInterceptedRequestParameter(val interceptionId: String, val errorReason: Network.ErrorReason? = null, val rawResponse: String? = null, val url: String? = null, val method: String? = null, val postData: String? = null, val headers: Map<String, JsonElement>? = null, val authChallengeResponse: Network.AuthChallengeResponse? = null)

Constructors

Link copied to clipboard
constructor(interceptionId: String, errorReason: Network.ErrorReason? = null, rawResponse: String? = null, url: String? = null, method: String? = null, postData: String? = null, headers: Map<String, JsonElement>? = null, authChallengeResponse: Network.AuthChallengeResponse? = null)

Properties

Link copied to clipboard

Response to a requestIntercepted with an authChallenge. Must not be set otherwise.

Link copied to clipboard

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.

Link copied to clipboard
val headers: Map<String, JsonElement>? = null

If set this allows the request headers to be changed. Must not be set in response to an authChallenge.

Link copied to clipboard
Link copied to clipboard
val method: String? = null

If set this allows the request method to be overridden. Must not be set in response to an authChallenge.

Link copied to clipboard
val postData: String? = null

If set this allows postData to be set. Must not be set in response to an authChallenge.

Link copied to clipboard
val rawResponse: String? = null

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. (Encoded as a base64 string when passed over JSON)

Link copied to clipboard
val url: String? = null

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.