feat: sniffer support http

This commit is contained in:
MetaCubeX
2022-05-02 05:10:18 +08:00
parent 5f957b5cf9
commit 6d704b9cd1
3 changed files with 115 additions and 1 deletions

View File

@ -11,7 +11,7 @@ const (
)
var (
SnifferList = []SnifferType{TLS}
SnifferList = []SnifferType{TLS, HTTP}
)
type SnifferType int
@ -20,6 +20,8 @@ func (rt SnifferType) String() string {
switch rt {
case TLS:
return "TLS"
case HTTP:
return "HTTP"
default:
return "Unknown"
}