sing-box/docs/configuration/outbound/selector.md

31 lines
458 B
Markdown
Raw Permalink Normal View History

### Structure
```json
{
2022-08-31 05:21:29 +00:00
"type": "selector",
"tag": "select",
"outbounds": [
2022-08-31 05:21:29 +00:00
"proxy-a",
"proxy-b",
"proxy-c"
],
"default": "proxy-c"
}
```
!!! error ""
The selector can only be controlled through the [Clash API](/configuration/experimental#clash-api-fields) currently.
### Fields
#### outbounds
==Required==
List of outbound tags to select.
#### default
The default outbound tag. The first outbound will be used if empty.