2021-03-16 18:04:08 -04:00
|
|
|
package ext
|
|
|
|
|
|
|
|
import (
|
|
|
|
"io"
|
|
|
|
"net/http"
|
|
|
|
)
|
|
|
|
|
|
|
|
type BrowserForwarder interface {
|
|
|
|
DialWebsocket(url string, header http.Header) (io.ReadWriteCloser, error)
|
|
|
|
}
|
2021-03-16 19:19:00 -04:00
|
|
|
|
|
|
|
func BrowserForwarderType() interface{} {
|
|
|
|
return (*BrowserForwarder)(nil)
|
|
|
|
}
|