MCPcopy Create free account
hub / github.com/UnsignedInt8/LightSword / stop

Function stop

client/socks5/socks5Server.ts:63–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 }
62
63 stop() {
64 this.server.removeAllListeners();
65 this.server.close();
66 }
67
68 private handleHandshake(data: Buffer): { success: boolean, data: Buffer } {
69 let methodCount = data[1];

Callers

nothing calls this directly

Calls 2

removeAllListenersMethod · 0.80
closeMethod · 0.65

Tested by

no test coverage detected