Versions in this module Expand all Collapse all v24 v24.12.6 Dec 6, 2024 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/morooi/xray-core