github.com/sagernet/sing-box@v1.9.0-rc.20/docs/configuration/outbound/selector.md (about)

     1  ### Structure
     2  
     3  ```json
     4  {
     5    "type": "selector",
     6    "tag": "select",
     7    
     8    "outbounds": [
     9      "proxy-a",
    10      "proxy-b",
    11      "proxy-c"
    12    ],
    13    "default": "proxy-c",
    14    "interrupt_exist_connections": false
    15  }
    16  ```
    17  
    18  !!! quote ""
    19  
    20      The selector can only be controlled through the [Clash API](/configuration/experimental#clash-api-fields) currently.
    21  
    22  ### Fields
    23  
    24  #### outbounds
    25  
    26  ==Required==
    27  
    28  List of outbound tags to select.
    29  
    30  #### default
    31  
    32  The default outbound tag. The first outbound will be used if empty.
    33  
    34  #### interrupt_exist_connections
    35  
    36  Interrupt existing connections when the selected outbound has changed.
    37  
    38  Only inbound connections are affected by this setting, internal connections will always be interrupted.