getState method

  1. @override
ConnectionState? getState(
  1. TransportConn conn
)
override

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

@override
ConnectionState? getState(TransportConn conn) {
}