BackPressureHandler
public final class BackPressureHandler : ChannelDuplexHandler, RemovableChannelHandler
ChannelHandler implementation which enforces back-pressure by stopping to read from the remote peer when it cannot write back fast enough. It will start reading again once pending data was written.
-
Declaration
Swift
public typealias OutboundIn = NIOAny
-
Declaration
Swift
public typealias InboundIn = ByteBuffer
-
Declaration
Swift
public typealias InboundOut = ByteBuffer
-
Declaration
Swift
public typealias OutboundOut = ByteBuffer
-
Undocumented
Declaration
Swift
public init()
-
Declaration
Swift
public func read(context: ChannelHandlerContext)
-
Declaration
Swift
public func channelWritabilityChanged(context: ChannelHandlerContext)
-
Declaration
Swift
public func handlerRemoved(context: ChannelHandlerContext)