Package-level declarations

Types

Link copied to clipboard
data class ByteRange(val start: Long, val end: Long)

A range within byte data.

Link copied to clipboard
data class ByteRangeRequest(val start: Long, val end: Long? = null)

Describes a byte range when requesting resource data.

Link copied to clipboard
Link copied to clipboard

Media type categories compatible with the HTTP Accept header.

Link copied to clipboard
data class ResourceMetadata(val acceptsRanges: Boolean? = null, val mediaType: String? = null, val path: String, val size: Long? = null)

Metadata about a resource fetched from a specific ResourceProvider.

Link copied to clipboard
data class WebResourceMetadata(val acceptsRanges: Boolean? = null, val mediaType: String? = null, val pathRelativeToBaseUrl: String? = null, val size: Long? = null, val url: String)

Metadata about a Resource in JSON serializable format.