TestApplicationRequest
class TestApplicationRequest(call: TestApplicationCall, closeRequest: Boolean, method: <ERROR CLASS>, uri: String, port: Int?, version: String) : CoroutineScope
Content copied to clipboard
A test application request
Constructors
Link copied to clipboard
fun TestApplicationRequest(call: TestApplicationCall, closeRequest: Boolean, method: <ERROR CLASS> = HttpMethod.Get, uri: String = "/", port: Int? = null, version: String = "HTTP/1.1")
Content copied to clipboard
Functions
Properties
Extensions
Link copied to clipboard
Sets an HTTP request body text content.
Sets an HTTP request body bytes.
Set HTTP request body from ByteReadPacket
fun TestApplicationRequest.setBody(boundary: String, parts: List<<ERROR CLASS>>)
Content copied to clipboard
Sets a multipart HTTP request body.