Skip to content

Commit

Permalink
fix: sse
Browse files Browse the repository at this point in the history
  • Loading branch information
ConsoleTVs committed Apr 17, 2024
1 parent 98417e5 commit 5c7ce5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func DefaultResponderHandler(writer http.ResponseWriter, request *http.Request,

if builder.stream != nil {
writeHeaders(writer, builder)
writer.(http.Flusher).Flush()

for {
select {
Expand Down

0 comments on commit 5c7ce5b

Please sign in to comment.