Motivation:
Sometimes a user needs to implement ChannelInboundHandler and ChannelOutboundHandler. We should remove some of the "boilerplate" code for doing so.
Modifications:
- Add ChannelDuplexHandler and use it.
Result:
Less boilerplate code.
Motivation:
We should include docs for our core abstractions. This adds docs for ChannelHandler and sub-protocols.
Modifications:
Add docs.
Result:
More docs.