* 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)
| 2370 | * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close) |
| 2371 | */ |
| 2372 | close(code?: number, reason?: string): void; |
| 2373 | serializeAttachment(attachment: any): void; |
| 2374 | deserializeAttachment(): any | null; |
| 2375 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected