mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-08-22 17:46:48 +08:00
VLESS practice: Use user-sent VLESS UUID's 7th<<8 | 8th bytes as vlessRoute
instead
https://github.com/XTLS/Xray-core/pull/5009#issuecomment-3195718690
Replaces 105b306d07
This commit is contained in:
@@ -41,7 +41,7 @@ type Context interface {
|
||||
// GetUser returns the user email from the connection content, if exists.
|
||||
GetUser() string
|
||||
|
||||
// GetVlessRoute returns the user-sent VLESS UUID's last byte, if exists.
|
||||
// GetVlessRoute returns the user-sent VLESS UUID's 7th<<8 | 8th bytes, if exists.
|
||||
GetVlessRoute() net.Port
|
||||
|
||||
// GetAttributes returns extra attributes from the conneciont content.
|
||||
|
Reference in New Issue
Block a user