commit | 4d86ea3120b5c46a1079f377a1cead7c24193a84 | [log] [tgz] |
---|---|---|
author | Jakob Andersen <jakobr@google.com> | Mon Oct 02 09:37:27 2017 +0200 |
committer | GitHub <noreply@github.com> | Mon Oct 02 09:37:27 2017 +0200 |
tree | 1f02e116ac345ad2f8bdfa90aa4d71fe9677d495 | |
parent | 76bfd603c56e4b76c15d29915bcd26e56e288635 [diff] |
Add onActiveStateChanged callback to Connection. (dart-lang/http2#13) The callback is invoked when the connection goes from idle (0 active streams) to active (at least 1 active stream), and when the connection goes from active to idle. This can be used to implement an idle connection timeout.