code property
int
get
code
The code
read-only property of the CloseEvent interface returns a
WebSocket connection close code
indicating the reason the server gave for closing the connection.
Implementation
external int get code;