Skip to content

Commit

Permalink
(fix): backfill SSE events as streaming json (#3472)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi authored Apr 26, 2024
1 parent fc378f2 commit f293dbe
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,14 @@ function convertResponse(irResponse: Ir.http.HttpResponse): APIV1Write.HttpRespo
type: "stream",
shape: { type: "reference", value: convertTypeReference(streamingResponse.payload) }
};
// TODO(dsinghvi): update FDR with SSE.
} else if (streamingResponse.type === "sse") {
return {
type: "stream",
shape: { type: "reference", value: convertTypeReference(streamingResponse.payload) }
};
}
// TODO(dsinghvi): update FDR with SSE.

return undefined;
},
_other: () => {
Expand Down

0 comments on commit f293dbe

Please sign in to comment.