mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-17 18:06:15 -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)
|
|
}
|