terminate

Bun

Symbol

ServerWebSocket.terminate

terminate(): void

Abruptly close the connection.

To gracefully close the connection, use close().