outbound1 property

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

Implementation

@override
Map<String, dynamic> get outbound1 => {
      "tag": "proxy",
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": address,
            "port": port,
            "users": [
              {
                "id": rawConfig['id'] ?? '',
                "alterId": int.tryParse(rawConfig['aid'].toString()) ?? 0,
                "security": (rawConfig['scy']?.isEmpty ?? true)
                    ? security
                    : rawConfig['scy'],
                "level": level,
                "encryption": "",
                "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,
      }
    };