github.com/v2fly/v2ray-core/v4@v4.45.2/features/extension/browser.go (about)

     1  package extension
     2  
     3  import (
     4  	"io"
     5  	"net/http"
     6  )
     7  
     8  type BrowserForwarder interface {
     9  	DialWebsocket(url string, header http.Header) (io.ReadWriteCloser, error)
    10  }
    11  
    12  func BrowserForwarderType() interface{} {
    13  	return (*BrowserForwarder)(nil)
    14  }