settings_applicationsWebSocket > settings_applications[[Prototype]]
WebSocket의 onclose는(은) CloseEvent interface의 close 이벤트 타입의 핸들러이고 이벤트 리스너로 사용된다.
onclose는(은) GlobalEventHandlers Mixin이 정의하고 HTMLElement, Document, Window, WorkerGlobalScope 인터페이스에서 구현한다.
웹 소켓의 연결이 닫히면 발생한다.