Groodian
Groodian
Thanks for your reply. I have already found this but I want to receive a list of images. Something like this: ``` @FormDataRequest data class PatientAddPictures( @PartEncoding("image/*") val pictures: List...
Now I am using a binary request, but I get this error: ``` java.lang.IllegalStateException: Acquiring blocking primitives on this dispatcher is not allowed. Consider using async channel or doing withContext(Dispatchers.IO)...
``` java.lang.IllegalStateException: Acquiring blocking primitives on this dispatcher is not allowed. Consider using async channel or doing withContext(Dispatchers.IO) { call.receive().use { ... } } instead. at io.ktor.server.engine.DefaultTransformKt.checkSafeParking(DefaultTransform.kt:93) at io.ktor.server.engine.DefaultTransformKt.receiveGuardedInputStream(DefaultTransform.kt:88) at...
Do you need more information?
``` java.lang.IllegalStateException: Acquiring blocking primitives on this dispatcher is not allowed. Consider using async channel or doing withContext(Dispatchers.IO) { call.receive().use { ... } } instead. at io.ktor.server.engine.DefaultTransformKt.checkSafeParking(DefaultTransform.kt:93) at io.ktor.server.engine.DefaultTransformKt.receiveGuardedInputStream(DefaultTransform.kt:88) at...