code property
final
The close code: Kick's disconnect code, or its error code for a refused connect or refresh (0 when the session gave up on a silent socket), or the code the WebSocket closed with. Null for a failure without one: a request or the handshake failing, a network error.
Implementation
final int? code;