mirror of
https://github.com/labstack/echo.git
synced 2025-07-05 00:58:47 +02:00
Changes for sub router #10
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
@ -52,7 +52,7 @@ func (r *response) Flusher() {
|
||||
func (r *response) Hijack() (net.Conn, *bufio.ReadWriter, error) {
|
||||
h, ok := r.ResponseWriter.(http.Hijacker)
|
||||
if !ok {
|
||||
return nil, nil, errors.New("bolt: hijacker interface not supported")
|
||||
return nil, nil, errors.New("echo: hijacker interface not supported")
|
||||
}
|
||||
return h.Hijack()
|
||||
}
|
||||
|
Reference in New Issue
Block a user