chore: restful api display fast-open for tuic and hysteria

This commit is contained in:
metacubex
2022-11-28 19:52:55 +08:00
committed by wwqgtxx
parent 9ea09b2b94
commit 8c0fbb3665
5 changed files with 13 additions and 3 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["tfo"] = p.SupportTFO()
return json.Marshal(mapping)
}