Skip to content

Commit

Permalink
rely on underlying object directly
Browse files Browse the repository at this point in the history
  • Loading branch information
dmathieu committed Jul 24, 2024
1 parent 6ea0cf4 commit 300e969
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ func NewRespWriterWrapper(w http.ResponseWriter, onWrite func(int64)) *RespWrite
}
}

// Header returns the response writer HTTP headers.
func (w *RespWriterWrapper) Header() http.Header {
return w.ResponseWriter.Header()
}

// Write writes the bytes array into the [ResponseWriter], and tracks the
// number of bytes written and last error.
func (w *RespWriterWrapper) Write(p []byte) (int, error) {
Expand Down

0 comments on commit 300e969

Please sign in to comment.