ktor-client-core / io.ktor.client.statement / bodyAsChannel

bodyAsChannel

suspend fun HttpResponse.bodyAsChannel(): ByteReadChannel

Read the HttpResponse.content as a ByteReadChannel.