getState abstract method

ConnectionState? getState(
  1. TransportConn conn
)

Returns the current state of a connection.

conn The transport connection to query.

Returns the current ConnectionState of the connection, or null if the connection is not registered with the manager.

Implementation

ConnectionState? getState(TransportConn conn);