epoch property

int? get epoch

The session generation the hub admitted this connection into.

Null before the handshake completes. A hub that has since ended and reopened its session is at a higher epoch, and this connection's credentials no longer work — which is the point.

Implementation

int? get epoch => _epoch;