Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Commit 7b5cd4f

Browse files
authored
Merge pull request #167 from rymurr/implement-flusher
Implement Flusher in response
2 parents 3aadd64 + fccd4d3 commit 7b5cd4f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/response.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ func (r *ProxyResponseWriter) WriteHeader(status int) {
8282
r.status = status
8383
}
8484

85+
86+
// Flush implements the Flusher interface which is called by
87+
// some implementers. This is intentionally a no-op
88+
func (r *ProxyResponseWriter) Flush() {
89+
//no-op
90+
}
91+
8592
// GetProxyResponse converts the data passed to the response writer into
8693
// an events.APIGatewayProxyResponse object.
8794
// Returns a populated proxy response object. If the response is invalid, for example

0 commit comments

Comments
 (0)