[]
        
(Showing Draft Content)

DisconnectReason

Enumeration: DisconnectReason

Defines the possible reasons for a disconnection.

Table of contents

Enumeration members

Enumeration members

CLIENT_DISCONNECT

CLIENT_DISCONNECT

Indicates the client intentionally disconnected.


PING_TIMEOUT

PING_TIMEOUT

Indicates the client failed to respond with a PONG packet within the ping timeout period.


SERVER_DISCONNECT

SERVER_DISCONNECT

Indicates the server intentionally disconnected.


TRANSPORT_CLOSE

TRANSPORT_CLOSE

Indicates the transport connection was closed.


TRANSPORT_ERROR

TRANSPORT_ERROR

Indicates an error occurred in the transport connection.