MCPcopy Create free account
hub / github.com/cameri/nostream / quit

Method quit

src/tor/client.ts:150–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 }
149
150 async quit(): Promise<void> {
151 await this.sendCommand('QUIT').catch(() => undefined)
152 this.socket?.destroy()
153 this.socket = undefined
154 }
155}
156
157let client: TorClient | undefined

Callers 1

closeTorClientFunction · 0.80

Calls 1

sendCommandMethod · 0.95

Tested by

no test coverage detected