web: support sudp in dashboard (#2385)

This commit is contained in:
fatedier
2021-05-11 13:37:14 +08:00
committed by GitHub
parent 0d84da91d4
commit 630dad50ed
15 changed files with 168 additions and 46 deletions

View File

@@ -94,4 +94,11 @@ class StcpProxy extends BaseProxy {
}
}
export {BaseProxy, TcpProxy, UdpProxy, HttpProxy, HttpsProxy, StcpProxy}
class SudpProxy extends BaseProxy {
constructor(proxyStats) {
super(proxyStats)
this.type = "sudp"
}
}
export {BaseProxy, TcpProxy, UdpProxy, HttpProxy, HttpsProxy, StcpProxy, SudpProxy}