function bytes
source · line 76public
public fun bytes(value: List<Byte>, contentType: String = "application/octet-stream", status: UInt = 200U): HttpResult
Copies bytes into a response with an explicit media type.
parameter status
source · line 79public
status: UInt = 200U
parameter contentType
source · line 78public
contentType: String = "application/octet-stream"
parameter value
source · line 77public
value: List<Byte>