ContinueRequestRequest

@Serializable
data class ContinueRequestRequest(val requestId: RequestId, val url: String? = null, val method: String? = null, val postData: String? = null, val headers: List<HeaderEntry>? = null, val interceptResponse: Boolean? = null)

Request object containing input parameters for the FetchDomain.continueRequest command.

Constructors

Link copied to clipboard
constructor(requestId: RequestId, url: String? = null, method: String? = null, postData: String? = null, headers: List<HeaderEntry>? = null, interceptResponse: Boolean? = null)

Types

Link copied to clipboard
class Builder(val requestId: RequestId)

A builder for ContinueRequestRequest, which allows setting the optional parameters of the FetchDomain.continueRequest command via a lambda.

Properties

Link copied to clipboard

If set, overrides the request headers. Note that the overrides do not extend to subsequent redirect hops, if a redirect happens. Another override may be applied to a different request produced by a redirect.

Link copied to clipboard

If set, overrides response interception behavior for this request.

Link copied to clipboard

If set, the request method is overridden.

Link copied to clipboard

If set, overrides the post data in the request. (Encoded as a base64 string when passed over JSON)

Link copied to clipboard

An id the client received in requestPaused event.

Link copied to clipboard
val url: String?

If set, the request url will be modified in a way that's not observable by page.