LoadNetworkResourceRequest

@Serializable
data class LoadNetworkResourceRequest(val frameId: FrameId? = null, val url: String, val options: LoadNetworkResourceOptions)(source)

Request object containing input parameters for the NetworkDomain.loadNetworkResource command.

Constructors

Link copied to clipboard
constructor(frameId: FrameId? = null, url: String, options: LoadNetworkResourceOptions)

Types

Link copied to clipboard
class Builder(val url: String, val options: LoadNetworkResourceOptions)

Properties

Link copied to clipboard
val frameId: FrameId? = null

Frame id to get the resource for. Mandatory for frame targets, and should be omitted for worker targets.

Link copied to clipboard

Options for the request.

Link copied to clipboard
val url: String

URL of the resource to get content for.