DownloadFinished
data class DownloadFinished(val downloadType: HttpRequestType, val url: String, val lastRedirectLocation: String?, val downloadTime: Double, val httpStatus: Int, val size: Long, val isSuccess: Boolean) : SourceEvent
Emitted when a download was finished.
Properties
Link copied to clipboard
The time needed to finish the request, in seconds.
Link copied to clipboard
Which type of request this was.
Link copied to clipboard
The HTTP status code of the request. If opening the connection failed, a value of 0
is returned.
Link copied to clipboard
The last redirect location, or null
if no redirect happened.