Required Instance Methodswift-nio 2.84.0NIOCore

flush(context:)

Called to request that the Channel flush all pending writes. The flush operation will try to flush out all previous written messages that are pending.

ChannelHandler.swift:96
func flush(context: ChannelHandlerContext)

Parameters

context

The ChannelHandlerContext which this ChannelHandler belongs to.

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