class ByteArrayContent : ByteArrayContent
Implementation of the OutgoingContent.ByteArrayContent for sending array of bytes
ByteArrayContent(bytes: ByteArray, contentType: ContentType? = null, status: HttpStatusCode? = null)
Implementation of the OutgoingContent.ByteArrayContent for sending array of bytes |
val contentLength: Long
Specifies content length in bytes for this resource. |
|
val contentType: ContentType?
Specifies ContentType for this resource. |
|
val status: HttpStatusCode?
Status code to set when sending this content |
fun bytes(): ByteArray
Provides ByteArray which engine will send to peer |
var OutgoingContent.caching: CachingOptions?
Gets or sets CacheControl instance as an extension property on this content |
|
var OutgoingContent.versions: List<Version>
Gets or sets list of Version instances as an extension property on this content |