mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-27 12:36:34 -05:00
15 lines
238 B
Go
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)
|
|
}
|