CachedResource

data class CachedResource(url: String, type: ResourceType, response: Response?, bodySize: Double)

Information about the cached resource.

Constructors

CachedResource
Link copied to clipboard
fun CachedResource(url: String, type: ResourceType, response: Response? = null, bodySize: Double)

Properties

bodySize
Link copied to clipboard
val bodySize: Double
Cached response body size.
response
Link copied to clipboard
val response: Response? = null
Cached response data.
type
Link copied to clipboard
val type: ResourceType
Type of this resource.
url
Link copied to clipboard
val url: String
Resource URL.

Sources

jvm source
Link copied to clipboard