Documentation Language: Swift

Method

userInboundEventTriggered(context:event:)

Called when a user inbound event has been triggered.

func userInboundEventTriggered(context: ChannelHandlerContext, event: Any)

Parameters

context

The ChannelHandlerContext which this ChannelHandler belongs 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.