ResumableCacheEntry

@Serializable
data class ResumableCacheEntry(val url: String, val path: String, val bucketId: String, val expiresAt: Instant, val upsert: Boolean = false, val contentType: String = "application/octet-stream")(source)

Represents a cache entry for a resumable upload

Parameters

url

The upload url

path

The storage path

bucketId

The bucket id

expiresAt

The time the url expires

upsert

Whether the entry should be updated if it already exists

contentType

The content type of the file

Constructors

Link copied to clipboard
constructor(url: String, path: String, bucketId: String, expiresAt: Instant, upsert: Boolean = false, contentType: String = "application/octet-stream")

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val expiresAt: Instant
Link copied to clipboard
Link copied to clipboard
val upsert: Boolean = false
Link copied to clipboard
val url: String