TestApplicationRequest
class TestApplicationRequest(call: TestApplicationCall, closeRequest: Boolean, method: HttpMethod, uri: String, version: String) : BaseApplicationRequest, CoroutineScope
Content copied to clipboard
Represents a test application request
Constructors
Link copied to clipboard
fun TestApplicationRequest(call: TestApplicationCall, closeRequest: Boolean, method: HttpMethod = HttpMethod.Get, uri: String = "/", version: String = "HTTP/1.1")
Content copied to clipboard
Functions
Properties
Link copied to clipboard
Link copied to clipboard
Extensions
Link copied to clipboard
Set HTTP request body text content
Set HTTP request body bytes
fun TestApplicationRequest.setBody(boundary: String, parts: List<PartData>)
Content copied to clipboard
Set multipart HTTP request body