holgerbrandl
05/17/2016, 8:17 PMabe
05/25/2016, 11:23 PMabe
05/25/2016, 11:26 PMkittinunf
05/26/2016, 2:35 AMFuelManager.socketFactory
? https://github.com/kittinunf/Fuel/blob/master/fuel/src/main/kotlin/com/github/kittinunf/fuel/core/FuelManager.kt#L24abe
05/26/2016, 12:45 PMyoavst
05/30/2016, 6:24 PMyoavst
05/30/2016, 6:25 PMkittinunf
05/31/2016, 2:05 AMabe
05/31/2016, 7:17 PMkittinunf
05/31/2016, 8:22 PMresponse.data
? But wouldn't it be better with responseJson { req, res, result ->
and get it via result
?abe
05/31/2016, 8:23 PMabe
05/31/2016, 8:23 PMabe
05/31/2016, 8:24 PMval (request, response, result) = uri.httpGet().responseString()
abe
05/31/2016, 8:24 PMkittinunf
06/01/2016, 3:37 AMresult.value
contain what you want?kittinunf
06/01/2016, 3:37 AMresult
is Result.Success
abe
06/06/2016, 1:54 PMresult.value
is not validabe
06/06/2016, 1:55 PMabe
06/06/2016, 2:08 PMval getRequest = uri.httpGet()
the return of httpGet()
has a member named httpBody
abe
06/06/2016, 2:12 PMByte Array
and there is now way for me to convert it to a string correctlyabe
06/06/2016, 2:13 PMabe
06/06/2016, 3:38 PMval (request, response, result) = uri.httpGet().responseString()
abe
06/06/2016, 3:38 PMString(response.data)
abe
06/06/2016, 3:38 PMkittinunf
06/06/2016, 4:19 PMkittinunf
06/06/2016, 4:19 PMresult.value
is wrapped by using String(response.data)
in the case of using responseString()
kittinunf
06/06/2016, 4:20 PMUTF8
encoded?abe
06/07/2016, 10:41 PMabe
06/07/2016, 10:42 PMresult
does not have a data member value
. For now I will continue to use the explicit expression.kittinunf
06/08/2016, 3:06 AMresult
down into val (value, error) = result
then you will get what you want.