class HttpResumeOptions
source · line 62public
public class HttpResumeOptions internal constructor(
/**
* The explicit path retaining incomplete representation bytes.
*/
public val partialFile: Path,
/**
* The distinct path retaining validation metadata.
*/
public val metadataFile: Path,
/**
* Whether unusable resume state causes restart or failure.
*/
public val mismatch: HttpResumeMismatch = HttpResumeMismatch.Restart,
/**
* The positive limit on resume metadata input bytes.
*/
public val maxMetadataBytes: Long = 65536L
)
Explicit partial-file and metadata paths, mismatch policy, and metadata size bound. The two paths must differ.
Extensions
public fun HttpResumeOptions.copy(configure: HttpResumeOptionsBuilder.() -> Unit = {}): HttpResumeOptions· scoop:scoop.http.client:0.1.0
property metadataFile
source · line 70public
public val metadataFile: Path
get: public read-only
The distinct path retaining validation metadata.
property maxMetadataBytes
source · line 78public
public val maxMetadataBytes: Long = 65536L
get: public read-only
The positive limit on resume metadata input bytes.
property mismatch
source · line 74public
public val mismatch: HttpResumeMismatch = HttpResumeMismatch.Restart
get: public read-only
Whether unusable resume state causes restart or failure.
property partialFile
source · line 66public
public val partialFile: Path
get: public read-only
The explicit path retaining incomplete representation bytes.