outbound1 property

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

Abstract getter for the primary outbound configuration. Subclasses must implement this to provide protocol-specific outbound settings.

Implementation

@override
Map<String, dynamic> get outbound1 => {
      'tag': 'proxy',
      'protocol': 'shadowsocks',
      'settings': {
        'vnext': null,
        'servers': [
          {
            'address': address,
            'method': method,
            'ota': false,
            'password': password,
            'port': port,
            'level': level,
            'email': null,
            'flow': null,
            'ivCheck': null,
            'users': 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}
    };