Selector outbound¶
Dispatch each new session to the selected member outbound.
Use this tag in routing or as an inbound's default-outbound. Change the
selection with PUT /api/v1/outbounds/choice/selection and the JSON body
{"selected":"proxy"}. Existing TCP sessions and UDP associations keep
their member. References may point forward or to other selectors; cycles
are rejected. Changes last until restart.
Fields¶
tag¶
- Type:
string - Required: yes
Required label for this endpoint.
outbounds¶
- Type: list of
string - Required: yes
Allowed outbound tags, in display order. Must be nonempty and unique.
selected¶
- Type:
string(optional) - Required: no
Initial member. Defaults to the first member; API changes are not persisted.