chore: restful api display xudp for VLESS and VMess

This commit is contained in:
metacubex
2023-01-28 00:07:20 +08:00
parent 02684a868f
commit 2b2644a76f
5 changed files with 22 additions and 10 deletions

View File

@@ -92,6 +92,7 @@ func (p *Proxy) MarshalJSON() ([]byte, error) {
mapping["history"] = p.DelayHistory()
mapping["name"] = p.Name()
mapping["udp"] = p.SupportUDP()
mapping["xudp"] = p.SupportXUDP()
mapping["tfo"] = p.SupportTFO()
return json.Marshal(mapping)
}