Documentation Language: Swift

Method

read(context:)

Called to request that the Channel perform a read when data is ready. The read operation will signal that we are ready to read more data.

func read(context: ChannelHandlerContext)

Parameters

context

The ChannelHandlerContext which this ChannelHandler belongs to.

Discussion

This should call context.read to forward the operation to the next _ChannelOutboundHandler in the ChannelPipeline or just discard it if the read should be suppressed.