Files
shater/constant/v2ray.go
T
Leadaxe 2d97ff5684 lx(xhttp): wire registry into NewClientTransport + xhttp constant
// lx: edits to upstream files (isolated for clean rebases):
- transport/v2ray/transport.go: NewClientTransport switch -> registry lookup
- constant/v2ray.go: V2RayTransportTypeXHTTP = "xhttp"
Behavior identical for built-in transports; build+vet+check green.
2026-06-09 14:40:35 +03:00

12 lines
366 B
Go

package constant
const (
V2RayTransportTypeHTTP = "http"
V2RayTransportTypeWebsocket = "ws"
V2RayTransportTypeQUIC = "quic"
V2RayTransportTypeGRPC = "grpc"
V2RayTransportTypeHTTPUpgrade = "httpupgrade"
// lx: XHTTP transport (Xray-compatible), registered behind build tag with_xhttp. See SPECS/002.
V2RayTransportTypeXHTTP = "xhttp"
)