Success

data class Success<T>(val data: T, val expiresAt: Long) : UploadResult<T>

Parameters

expiresAt

when the uploaded file is deleted by the host, as epoch milliseconds. Each host decides this per upload: a fixed retention for some, a function of file size for others.

Constructors

Link copied to clipboard
constructor(data: T, expiresAt: Long)

Properties

Link copied to clipboard
val data: T
Link copied to clipboard