Albert
04/01/2019, 12:06 PMwithTimeout(timeMillis = 1000) {
handleRequest(HttpMethod.Post, "/test") {
addHeader(HttpHeaders.ContentType, ContentType.Application.Json.toString())
setBody(requestMessage)
}
}
But this will not working because handleRequest is not a suspend method. Why is that?