How do I read a text/event-stream content type? In...
# ktor
z
How do I read a text/event-stream content type? In my API its being used as a sort of progress indicator. So each newline contains some data. I need to get the last line in the stream
c
I don’t think Ktor supports this out of the box. However, you can do this with OkHttp directly https://square.github.io/okhttp/3.x/okhttp-sse/index-all.html
z