nwh
06/26/2018, 6:39 PMcall.enqueue(object: Callback {
override fun onFailure(call: Call, e: IOException) {
it.resumeWithException(e)
}
override fun onResponse(call: Call, response: Response) {
val body = response.body()!!
it.resume(body.string())
}
})