StreamAssetContent

internal class StreamAssetContent(metadata: String, md5: String, encryptedDataSize: Long, fileContentStream: () -> Source) : OutgoingContent.WriteChannelContent

Constructors

Link copied to clipboard
internal constructor(metadata: String, md5: String, encryptedDataSize: Long, fileContentStream: () -> Source)

Properties

Link copied to clipboard
open val contentLength: Long?
Link copied to clipboard
open val contentType: ContentType?
Link copied to clipboard
open val headers: Headers
Link copied to clipboard
open val status: HttpStatusCode?

Functions

Link copied to clipboard
open fun <T : Any> getProperty(key: AttributeKey<T>): T?
Link copied to clipboard
internal suspend fun OutgoingContent.observe(log: ByteWriteChannel): OutgoingContent
Link copied to clipboard
open fun <T : Any> setProperty(key: AttributeKey<T>, value: T?)
Link copied to clipboard
open fun trailers(): Headers?
Link copied to clipboard
open suspend override fun writeTo(channel: ByteWriteChannel)