Documentation ¶
Index ¶
Constants ¶
View Source
const ( HTTP1 version = iota HTTP2 )
Variables ¶
This section is empty.
Functions ¶
func RemoveHopByHopHeaders ¶
Types ¶
type SniffHeader ¶ added in v3.30.1
type SniffHeader struct {
// contains filtered or unexported fields
}
func SniffHTTP ¶ added in v3.30.1
func SniffHTTP(b []byte) (*SniffHeader, error)
func (*SniffHeader) Domain ¶ added in v3.30.1
func (h *SniffHeader) Domain() string
func (*SniffHeader) Protocol ¶ added in v3.30.1
func (h *SniffHeader) Protocol() string
Click to show internal directories.
Click to hide internal directories.