Does anyone know of a good tutorial where they use...
# getting-started
j
Does anyone know of a good tutorial where they use KTOR client response streaming + a component live-rendering the changes? I’ve got KTOR client to stream the response, but the component still only renders when all is done and tbf I’ve no idea what I’m doing so I’d like to understand more 😂
e
I started writing this article here, but never managed to finish it.
j
Thank you! It’s helpful 😃 if you could add a section about streaming data to a component that would be perfect 🙏
e
What do you mean by component?
j
The thing you use to build the UI — maybe composable rings a bell? 😄
e
The world is bigger than Compose, a component can be many things. Thanks for the clarification.
j
Fair enough, glad it helps!
r
@Jordy I have a similar need. Would you mind sharing your code for the response being streamed? I have the need to consume from an http endpoint that is streaming data and to stream that to my response object in ktor.
j
@ruither unfortunately I never quite figured it out. I’ve since moved to SwiftUI 😄
👍 1