WebSocket.close() (1) 썸네일형 리스트형 WebSocket.close() WebSocket.close() The WebSocket.close() method closes the WebSocket connection or connection attempt, if any. If the connection is already CLOSED, this method does nothing. Syntax WebSocket.close();WebSocket.close(code);WebSocket.close(reason);WebSocket.close(code, reason); Parameters code OptionalA numeric value indicating the status code explaining why the connection is being closed. If this p.. 이전 1 다음