when streaming a json response over http (from a k...
# server
c
when streaming a json response over http (from a kotlin flow) whats the best way to indicate that an error has occurred? I could just send a different json object to indicate the error, but are there any best practices? (the result is already streaming, the http status is already 200) can i just close the connection?
👍 1