pingAnswered method
Whether the peer answered the last ping, asked when the next is due.
The default is what pongReceived saw. A transport that counts pongs elsewhere overrides it.
Implementation
@protected
bool pingAnswered() => !_pongPending;
Whether the peer answered the last ping, asked when the next is due.
The default is what pongReceived saw. A transport that counts pongs elsewhere overrides it.
@protected
bool pingAnswered() => !_pongPending;