mirror of
https://github.com/labstack/echo.git
synced 2025-07-03 00:56:59 +02:00
adding response.committed getter
This commit is contained in:
@ -74,6 +74,10 @@ func (r *Response) Size() int64 {
|
||||
return r.size
|
||||
}
|
||||
|
||||
func (r *Response) Committed() bool {
|
||||
return r.committed
|
||||
}
|
||||
|
||||
func (r *Response) reset(w http.ResponseWriter) {
|
||||
r.writer = w
|
||||
r.size = 0
|
||||
|
Reference in New Issue
Block a user