ChannelOutboundHandler

public protocol ChannelOutboundHandler : _ChannelOutboundHandler, _EmittingChannelHandler

ChannelHandler which handles outbound I/O events or intercept an outbound I/O operation for a Channel.

Please refer to _ChannelOutboundHandler and _EmittingChannelHandler for more details on the provided methods.

  • The type of the outbound data which is wrapped in NIOAny.

    Declaration

    Swift

    associatedtype OutboundIn
  • unwrapOutboundIn(_:) Default implementation

    Unwrap the provided NIOAny that was passed to write.

    Default Implementation

    Declaration

    Swift

    @_inlineable
    func unwrapOutboundIn(_ value: NIOAny) -> OutboundIn