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

     1  ### Structure
     2  
     3  ```json
     4  {
     5    "type": "urltest",
     6    "tag": "auto",
     7    
     8    "outbounds": [
     9      "proxy-a",
    10      "proxy-b",
    11      "proxy-c"
    12    ],
    13    "url": "",
    14    "interval": "",
    15    "tolerance": 0,
    16    "idle_timeout": "",
    17    "interrupt_exist_connections": false
    18  }
    19  ```
    20  
    21  ### Fields
    22  
    23  #### outbounds
    24  
    25  ==Required==
    26  
    27  List of outbound tags to test.
    28  
    29  #### url
    30  
    31  The URL to test. `https://www.gstatic.com/generate_204` will be used if empty.
    32  
    33  #### interval
    34  
    35  The test interval. `3m` will be used if empty.
    36  
    37  #### tolerance
    38  
    39  The test tolerance in milliseconds. `50` will be used if empty.
    40  
    41  #### idle_timeout
    42  
    43  The idle timeout. `30m` will be used if empty.
    44  
    45  #### interrupt_exist_connections
    46  
    47  Interrupt existing connections when the selected outbound has changed.
    48  
    49  Only inbound connections are affected by this setting, internal connections will always be interrupted.