@@ -380,6 +380,10 @@ object RawUpdater : GroupUpdater() {
380380 }
381381 }
382382
383+ " encryption" -> if (bean is VMessBean && bean.isVLESS) {
384+ bean.vlessEncryption = opt.value?.toString() ? : " "
385+ }
386+
383387 " packet-encoding" -> if (bean is VMessBean ) {
384388 bean.packetEncoding = when ((opt.value as ? String )) {
385389 " packetaddr" -> 1
@@ -528,6 +532,45 @@ object RawUpdater : GroupUpdater() {
528532 xhttpOpts[" sc-min-posts-interval-ms" ]?.toString()?.let {
529533 extra.put(" sc_min_posts_interval_ms" , it)
530534 }
535+ xhttpOpts[" x-padding-obfs-mode" ]?.let {
536+ extra.put(" x_padding_obfs_mode" , it)
537+ }
538+ xhttpOpts[" x-padding-key" ]?.toString()?.let {
539+ extra.put(" x_padding_key" , it)
540+ }
541+ xhttpOpts[" x-padding-header" ]?.toString()?.let {
542+ extra.put(" x_padding_header" , it)
543+ }
544+ xhttpOpts[" x-padding-placement" ]?.toString()?.let {
545+ extra.put(" x_padding_placement" , it)
546+ }
547+ xhttpOpts[" x-padding-method" ]?.toString()?.let {
548+ extra.put(" x_padding_method" , it)
549+ }
550+ xhttpOpts[" uplink-http-method" ]?.toString()?.let {
551+ extra.put(" uplink_http_method" , it)
552+ }
553+ xhttpOpts[" session-placement" ]?.toString()?.let {
554+ extra.put(" session_placement" , it)
555+ }
556+ xhttpOpts[" session-key" ]?.toString()?.let {
557+ extra.put(" session_key" , it)
558+ }
559+ xhttpOpts[" seq-placement" ]?.toString()?.let {
560+ extra.put(" seq_placement" , it)
561+ }
562+ xhttpOpts[" seq-key" ]?.toString()?.let {
563+ extra.put(" seq_key" , it)
564+ }
565+ xhttpOpts[" uplink-data-placement" ]?.toString()?.let {
566+ extra.put(" uplink_data_placement" , it)
567+ }
568+ xhttpOpts[" uplink-data-key" ]?.toString()?.let {
569+ extra.put(" uplink_data_key" , it)
570+ }
571+ xhttpOpts[" uplink-chunk-size" ]?.toString()?.let {
572+ extra.put(" uplink_chunk_size" , it)
573+ }
531574 (xhttpOpts[" reuse-settings" ] as ? Map <* , * >)?.let { reuseSettings ->
532575 val xmux = JSONObject ()
533576 reuseSettings[" max-connections" ]?.toString()?.let {
0 commit comments