setBody

fun TestApplicationRequest.setBody(value: String)

Sets an HTTP request body text content.


fun TestApplicationRequest.setBody(value: ByteArray)

Sets an HTTP request body bytes.


fun TestApplicationRequest.setBody(value: <ERROR CLASS>)

Set HTTP request body from ByteReadPacket


fun TestApplicationRequest.setBody(boundary: String, parts: List<<ERROR CLASS>>)

Sets a multipart HTTP request body.