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
ChannelHandlerContextwhich thisChannelHandlerbelongs 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.