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

gildor

08/21/2018, 9:48 AM
I’m not familiar with ktor-client, but maybe you can do something like:
Copy code
client.get<Response<MyClass>>(…) or client.getResponse<MyClass>(...)
m

Mohit Gurumukhani

08/21/2018, 3:43 PM
Wait! Is this supported in the current implementation?
g

gildor

08/21/2018, 5:16 PM
Have no idea 😅 Just my understanding how this should work to handle such cases
2 Views