SetResponseBytes Method
Sets a byte array to be served as a response.
Syntax
public fun setResponseBytes(connectionId: Long, bytes: ByteArray?, contentType: String?)
Remarks
Use this property to provide the response content in a byte array.
|
SetResponseBytes MethodSets a byte array to be served as a response. Syntaxpublic fun setResponseBytes(connectionId: Long, bytes: ByteArray?, contentType: String?) RemarksUse this property to provide the response content in a byte array. |