github.com/imannamdari/v2ray-core/v5@v5.0.5/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  }