MCPcopy Create free account
hub / github.com/fmhy/edit / close

Method close

api/worker-configuration.d.ts:3690–3690  ·  view source on GitHub ↗

* The **`WebSocket.close()`** method closes the already `CLOSED`, this method does nothing. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)

(code?: number, reason?: string)

Source from the content-addressed store, hash-verified

3688 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)
3689 */
3690 close(code?: number, reason?: string): void
3691 serializeAttachment(attachment: any): void
3692 deserializeAttachment(): any | null
3693 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected