Required Instance Methodswift-nio 2.81.0NIOCore

channelInactive(context:)

Called when the Channel has become inactive and is no longer able to send and receive data.

ChannelHandler.swift:170
func channelInactive(context: ChannelHandlerContext)

Parameters

context

The ChannelHandlerContext which this ChannelHandler belongs to.

This should call context.fireChannelInactive to forward the operation to the next _ChannelInboundHandler in the ChannelPipeline if you want to allow the next handler to also handle the event.