FrameResource

@Serializable
data class FrameResource(val url: String, val type: Network.ResourceType, val mimeType: String, val lastModified: Double? = null, val contentSize: Double? = null, val failed: Boolean? = null, val canceled: Boolean? = null)

Information about the Resource on the page.

Constructors

Link copied to clipboard
constructor(url: String, type: Network.ResourceType, mimeType: String, lastModified: Double? = null, contentSize: Double? = null, failed: Boolean? = null, canceled: Boolean? = null)

Properties

Link copied to clipboard
val canceled: Boolean? = null

True if the resource was canceled during loading.

Link copied to clipboard
val contentSize: Double? = null

Resource content size.

Link copied to clipboard
val failed: Boolean? = null

True if the resource failed to load.

Link copied to clipboard
val lastModified: Double? = null

last-modified timestamp as reported by server.

Link copied to clipboard

Resource mimeType as determined by the browser.

Link copied to clipboard

Type of this resource.

Link copied to clipboard
val url: String

Resource URL.