mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-03 01:38:24 -04: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)
|
|
}
|