ktor-server-test-host / io.ktor.server.testing / TestApplicationResponse / byteContent

byteContent

var byteContent: ByteArray?

Response body byte content. Could be blocking. Remains null until response appears.