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

44 lines
721 B
Markdown
Raw Normal View History

2022-09-15 15:22:08 +08:00
### 结构
```json
{
"type": "urltest",
"tag": "auto",
"outbounds": [
"proxy-a",
"proxy-b",
"proxy-c"
],
2023-04-13 09:03:08 +08:00
"url": "https://www.gstatic.com/generate_204",
2022-09-15 15:22:08 +08:00
"interval": "1m",
2023-09-15 00:07:07 +08:00
"tolerance": 50,
"interrupt_exist_connections": false
2022-09-15 15:22:08 +08:00
}
```
### 字段
#### outbounds
==必填==
用于测试的出站标签列表。
#### url
2023-04-13 09:03:08 +08:00
用于测试的链接。默认使用 `https://www.gstatic.com/generate_204`。
2022-09-15 15:22:08 +08:00
#### interval
测试间隔。 默认使用 `1m`。
#### tolerance
以毫秒为单位的测试容差。 默认使用 `50`。
2023-09-15 00:07:07 +08:00
#### interrupt_exist_connections
当选定的出站发生更改时,中断现有连接。
仅入站连接受此设置影响,内部连接将始终被中断。