update
This commit is contained in:
@@ -71,7 +71,10 @@ export class WsProxyManager {
|
||||
}
|
||||
this.wssMap.delete(id);
|
||||
}
|
||||
getIds() {
|
||||
getIds(beginWith?: string) {
|
||||
if (beginWith) {
|
||||
return Array.from(this.wssMap.keys()).filter(key => key.startsWith(beginWith));
|
||||
}
|
||||
return Array.from(this.wssMap.keys());
|
||||
}
|
||||
get(id: string) {
|
||||
|
||||
Reference in New Issue
Block a user