getActiveConnections method

int getActiveConnections(
  1. String relayUrl
)

Get active connection count for a relay.

Implementation

int getActiveConnections(String relayUrl) =>
    _activeConnections[relayUrl] ?? 0;