MCPcopy Create free account
hub / github.com/idosal/git-mcp / close

Method close

worker-configuration.d.ts:2355–2355  ·  view source on GitHub ↗

* Closes the WebSocket connection, optionally using code as the the WebSocket connection close code and reason as the the WebSocket connection close reason. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)

(code?: number, reason?: string)

Source from the content-addressed store, hash-verified

2353 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)
2354 */
2355 close(code?: number, reason?: string): void;
2356 serializeAttachment(attachment: any): void;
2357 deserializeAttachment(): any | null;
2358 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected