metrics property
WebSocketMetrics
get
metrics
Get the metrics for this client.
Implementation
WebSocketMetrics get metrics {
final (
:bool active,
:int attempt,
:DateTime? nextReconnectionAttempt,
) = _connectionManager.status;
return _metricsManager.buildMetric(
active: active,
attempt: attempt,
nextReconnectionAttempt: nextReconnectionAttempt,
);
}