1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-03 01:38:24 -04:00
v2fly/features/extension/browser.go
2021-05-01 00:06:10 +01:00

15 lines
238 B
Go

package extension
import (
"io"
"net/http"
)
type BrowserForwarder interface {
DialWebsocket(url string, header http.Header) (io.ReadWriteCloser, error)
}
func BrowserForwarderType() interface{} {
return (*BrowserForwarder)(nil)
}