1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-19 02:46:33 -05:00
v2fly/features/extension/browser.go

15 lines
238 B
Go
Raw Normal View History

2021-04-30 19:06:10 -04:00
package extension
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)
}