Skip to content

Commit

Permalink
コメントを追加する
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexa committed Jan 11, 2024
1 parent eb3d3ca commit da1f7b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ func (s *Server) createSpeechHandler(serviceType string, onResultFunc func(conte
Msg("CONNECTED")

c.Response().Header().Set(echo.HeaderContentType, echo.MIMEApplicationJSON)
// すぐにヘッダを送信したい場合はここで c.Response().Flush() を実行する

ctx := c.Request().Context()
// TODO: context.WithCancelCause(ctx) に変更する
Expand Down

0 comments on commit da1f7b9

Please sign in to comment.