ByteArrayContent
class ByteArrayContent(bytes: ByteArray, val contentType: ContentType? = null, val status: HttpStatusCode? = null) : OutgoingContent.ByteArrayContent
Implementation of the OutgoingContent.ByteArrayContent for sending array of bytes
Constructors
Link copied to clipboard
fun ByteArrayContent(bytes: ByteArray, contentType: ContentType? = null, status: HttpStatusCode? = null)
Functions
Link copied to clipboard
Gets an extension property for this content
Link copied to clipboard
Sets an extension property for this content
Properties
Extensions
Link copied to clipboard
Gets or sets the CacheControl instance as an extension property on this content.