github.com/yaling888/clash@v1.53.0/listener/mitm/hack.go (about)

     1  package mitm
     2  
     3  import (
     4  	_ "net/http"
     5  	_ "unsafe"
     6  )
     7  
     8  //go:linkname validMethod net/http.validMethod
     9  func validMethod(_ string) bool