https://kotlinlang.org logo
#ktor
Title
# ktor
c

Cristián Arenas

12/18/2019, 3:39 PM
I’m trying to update to 1.3.0-rc, and it gives me the following error:
Unbound streaming [HttpResponse] is deprecated. Consider using [HttpStatement] instead
Is there a migration guide or something? I don’t see anything relevant in here: https://ktor.io/quickstart/migration/1.3.0.html
c

cy

12/18/2019, 3:40 PM
It's in progress yet, sorry
c

Cristián Arenas

12/18/2019, 3:48 PM
If anybody has the same problem,
request(…)
will now output an
io.ktor.client.statement.HttpResponse
instead of
io.ktor.client.response.HttpResponse
. Or you can also get an
io.ktor.client.statement.HttpStatement
that you can call
execute
on when you want to actually do the request.
3 Views