Join Slack
Powered by
Hi there, Why Ktor can not read response twice? A...
# multiplatform
r
Randy Tang
04/03/2023, 7:57 PM
Hi there, Why Ktor can not read response twice? Anyone find a workaround for this issue by any chance? It's getting super frustrating to handle this logic in a interceptor.
https://youtrack.jetbrains.com/issue/KTOR-5223/Ktor-Cannot-read-response-multiple-times
a
Alejandro Moya
04/03/2023, 7:58 PM
I would try the ktor channel
r
Randy Tang
04/03/2023, 7:59 PM
Is there a link I can learn as a reference?
a
Alejandro Moya
04/03/2023, 8:00 PM
I mean, ask on
#ktor
r
Randy Tang
04/03/2023, 8:06 PM
Lol, I immediately ask chatgpt to use kotlin channel to implement a workaround
r
rocketraman
04/03/2023, 8:17 PM
https://ktor.io/docs/double-receive.html
8
Views
Open in Slack
Previous
Next