outbound1 property

  1. @override
Map<String, dynamic> get outbound1
override

Outbound configuration map for the vless protocol used by V2Ray core.

Implementation

@override
Map<String, dynamic> get outbound1 => {
      'tag': 'proxy',
      'protocol': 'vless',
      'settings': {
        'vnext': [
          {
            'address': address,
            'port': port,
            'users': [
              {
                'id': uri.userInfo,
                'alterId': null,
                'security': security,
                'level': level,
                'encryption': uri.queryParameters['encryption'] ?? 'none',
                'flow': uri.queryParameters['flow'] ?? '',
              }
            ]
          }
        ],
        'servers': null,
        'response': null,
        'network': null,
        'address': null,
        'port': null,
        'domainStrategy': null,
        'redirect': null,
        'userLevel': null,
        'inboundTag': null,
        'secretKey': null,
        'peers': null
      },
      'streamSettings': streamSetting,
      'proxySettings': null,
      'sendThrough': null,
      'mux': {
        'enabled': false,
        'concurrency': 8,
      },
    };