feat: sniffer support http
This commit is contained in:
@ -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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user