connectionId property

String? connectionId

Represents the connection id of the HubConnection on the server. The connection id will be null when the connection is either in the disconnected state or if the negotiation step was skipped.

Implementation

String? get connectionId => _connection!.connectionId;