feat: add Vless Encryption support

This commit is contained in:
xboard
2026-03-30 17:03:37 +08:00
parent 0cd20d12dd
commit 5f1afe4bdc
6 changed files with 23 additions and 2 deletions
+4
View File
@@ -332,6 +332,10 @@ class ClashMeta extends AbstractProtocol
'cipher' => 'auto',
'udp' => true,
'flow' => data_get($protocol_settings, 'flow'),
'encryption' => match (data_get($protocol_settings, 'encryption.enabled')) {
true => data_get($protocol_settings, 'encryption.encryption', 'none'),
default => 'none'
},
'tls' => false
];