1
0
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:
Shelikhoo 2021-03-16 22:04:08 +00:00
parent 1eaec6818a
commit 57b4214284
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

10
features/ext/browser.go Normal file
View File

@ -0,0 +1,10 @@
package ext
import (
"io"
"net/http"
)
type BrowserForwarder interface {
DialWebsocket(url string, header http.Header) (io.ReadWriteCloser, error)
}