Versions in this module Expand all Collapse all v26 v26.1.15 Jan 14, 2026 v26.1.14 Jan 13, 2026 Changes in this version + const HTTP1 + const HTTP2 + func ParseHost(rawHost string, defaultPort net.Port) (net.Destination, error) + func ParseXForwardedFor(header http.Header) []net.Address + func RemoveHopByHopHeaders(header http.Header) + type SniffHeader struct + func SniffHTTP(b []byte, c context.Context) (*SniffHeader, error) + func (h *SniffHeader) Domain() string + func (h *SniffHeader) Protocol() string Other modules containing this package github.com/xmplusdev/xray-core github.com/xmplusdev/xray-core/v24 github.com/xmplusdev/xray-core/v25