mirror of
https://github.com/labstack/echo.git
synced 2024-12-24 20:14:31 +02:00
adding response.committed getter
This commit is contained in:
parent
dce83db344
commit
56e44a759e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user