Method
userInboundEventTriggered(context:event:)
Called when a user inbound event has been triggered.
func userInboundEventTriggered(context: ChannelHandlerContext, event: Any)
Parameters
context-
The
ChannelHandlerContextwhich thisChannelHandlerbelongs to. event-
The event.
Discussion
This should call context.fireUserInboundEventTriggered to forward the operation to the next _ChannelInboundHandler in the ChannelPipeline if you want to allow the next handler to also handle the event.