chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.page / FrameResource

FrameResource

data class FrameResource

Information about the Resource on the page.

Official doc

Constructors

<init>

Information about the Resource on the page.

FrameResource(url: String, type: ResourceType, mimeType: String, lastModified: TimeSinceEpoch? = null, contentSize: Double? = null, failed: Boolean? = null, canceled: Boolean? = null)

Properties

canceled

True if the resource was canceled during loading.

val canceled: Boolean?

contentSize

Resource content size.

val contentSize: Double?

failed

True if the resource failed to load.

val failed: Boolean?

lastModified

last-modified timestamp as reported by server.

val lastModified: TimeSinceEpoch?

mimeType

Resource mimeType as determined by the browser.

val mimeType: String

type

Type of this resource.

val type: ResourceType

url

Resource URL.

val url: String