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