mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
added definition for websocket browser forwarder
This commit is contained in:
parent
1eaec6818a
commit
57b4214284
10
features/ext/browser.go
Normal file
10
features/ext/browser.go
Normal file
@ -0,0 +1,10 @@
|
||||
package ext
|
||||
|
||||
import (
|
||||
"io"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
type BrowserForwarder interface {
|
||||
DialWebsocket(url string, header http.Header) (io.ReadWriteCloser, error)
|
||||
}
|
Loading…
Reference in New Issue
Block a user