mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-04 01:38:12 +08:00
chore(response_writer): add Unwrap() method to ResponseWriter interface
This commit is contained in:
parent
e3118cc378
commit
1fde3243c2
@ -44,6 +44,9 @@ type ResponseWriter interface {
|
||||
|
||||
// Pusher get the http.Pusher for server push
|
||||
Pusher() http.Pusher
|
||||
|
||||
// Unwrap get the underlying http.ResponseWriter
|
||||
Unwrap() http.ResponseWriter
|
||||
}
|
||||
|
||||
type responseWriter struct {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user