Instance Method (Default implementation)swift-nio 2.72.0NIOCore
read(context:)
ChannelHandler.swift:256func read(context: ChannelHandlerContext)
Implements
func read(context: ChannelHandlerContext
) 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.
Other members in extension
Instance members
func bind(context: ChannelHandlerContext, to: SocketAddress, promise: EventLoopPromise<Void>?
) func close(context: ChannelHandlerContext, mode: CloseMode, promise: EventLoopPromise<Void>?
) func connect(context: ChannelHandlerContext, to: SocketAddress, promise: EventLoopPromise<Void>?
) func flush(context: ChannelHandlerContext
) func register(context: ChannelHandlerContext, promise: EventLoopPromise<Void>?
) func triggerUserOutboundEvent(context: ChannelHandlerContext, event: Any, promise: EventLoopPromise<Void>?
) func write(context: ChannelHandlerContext, data: NIOAny, promise: EventLoopPromise<Void>?
)