method WebSocketConnection.prototype.markClosed WebSocketConnection.prototype.markClosed(): void Marks the connection closed without touching the transport — used when the peer closed first, so the socket is already gone. Return Type void