[]
Defines the possible reasons for a disconnection.
• CLIENT_DISCONNECT
Indicates the client intentionally disconnected.
• PING_TIMEOUT
Indicates the client failed to respond with a PONG packet within the ping timeout period.
• SERVER_DISCONNECT
Indicates the server intentionally disconnected.
• TRANSPORT_CLOSE
Indicates the transport connection was closed.
• TRANSPORT_ERROR
Indicates an error occurred in the transport connection.