added definition for websocket browser forwarder

This commit is contained in:
Shelikhoo
2021-03-20 21:58:07 +00:00
parent 1eaec6818a
commit 57b4214284
+10
View File
@@ -0,0 +1,10 @@
package ext
import (
"io"
"net/http"
)
type BrowserForwarder interface {
DialWebsocket(url string, header http.Header) (io.ReadWriteCloser, error)
}