mihomo/listener/mitm/hack.go
2023-09-03 21:14:27 +08:00

10 lines
136 B
Go

package mitm
import (
_ "net/http"
_ "unsafe"
)
//go:linkname validMethod net/http.validMethod
func validMethod(method string) bool