ServerHealth constructor
const
ServerHealth({
- String status = 'healthy',
- String? version,
- int connections = 0,
- required bool isRunning,
- required int connectedSessions,
- required int registeredTools,
- required int registeredResources,
- required int registeredPrompts,
- required DateTime startTime,
- required Duration uptime,
- required Map<
String, dynamic> metrics,
Implementation
const ServerHealth({
this.status = 'healthy',
this.version,
this.connections = 0,
required this.isRunning,
required this.connectedSessions,
required this.registeredTools,
required this.registeredResources,
required this.registeredPrompts,
required this.startTime,
required this.uptime,
required this.metrics,
});