Skip to content

Commit

Permalink
Merge pull request #167 from rymurr/implement-flusher
Browse files Browse the repository at this point in the history
Implement Flusher in response
  • Loading branch information
sapessi authored Sep 22, 2023
2 parents 3aadd64 + fccd4d3 commit 7b5cd4f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ func (r *ProxyResponseWriter) WriteHeader(status int) {
r.status = status
}


// Flush implements the Flusher interface which is called by
// some implementers. This is intentionally a no-op
func (r *ProxyResponseWriter) Flush() {
//no-op
}

// GetProxyResponse converts the data passed to the response writer into
// an events.APIGatewayProxyResponse object.
// Returns a populated proxy response object. If the response is invalid, for example
Expand Down

0 comments on commit 7b5cd4f

Please # to comment.