Closed Cobinja closed 2 years ago
Thanks @Cobinja. I think this is good to go. I have refactored things a bit more (you introduced the field I asked for - but did not actually make use of it to share repeating code). You can take a look at the final version.
My thought process was "Web channels might need a completely different implementation, so just provide the common API". I'm fine with your changes.
Hi,
Just a ping on this PR. What's blocking this from being merged?
This was a breaking change - there are internal implementations of ClientConnection
which are broken because they no longer implement the entire interface.
This offers a Stream on channels. Only for Http2Channel, not for web usage.
Usage: clientChannel.onConnectionStateChanged.listen(...)
This is an alternative to #563. Only merge one of these.