Files
sing-box-extended-mirror/docs/configuration/outbound/selector.zh.md
T

38 lines
624 B
Markdown
Raw Normal View History

### 结构
```json
{
2022-08-31 13:21:29 +08:00
"type": "selector",
"tag": "select",
"outbounds": [
2022-08-31 13:21:29 +08:00
"proxy-a",
"proxy-b",
"proxy-c"
],
2023-09-15 00:07:07 +08:00
"default": "proxy-c",
"interrupt_exist_connections": false
}
```
2023-11-09 17:04:08 +08:00
!!! quote ""
选择器目前只能通过 [Clash API](/zh/configuration/experimental#clash-api) 来控制。
### 字段
#### outbounds
==必填==
用于选择的出站标签列表。
#### default
2022-08-25 09:45:22 +08:00
默认的出站标签。默认使用第一个出站。
2023-09-15 00:07:07 +08:00
#### interrupt_exist_connections
当选定的出站发生更改时,中断现有连接。
仅入站连接受此设置影响,内部连接将始终被中断。