Documentation Language: Swift

Class

SSHWrapperHandler

Channel handler that wraps forwarded bytes in SSHChannelData.

final class SSHWrapperHandler

Overview

SSHWrapperHandler adapts raw ByteBuffer traffic from the local forwarding side into the SSH channel payloads expected by NIOSSH, and performs the inverse conversion for inbound data.

Topics

Initializers

?

Instance Methods

F
channelRead(context:data:)

Called when some data has been read from the remote peer.

F
write(context:data:promise:)

Called to request a write operation. The write operation will write the messages through the ChannelPipeline. Those are then ready to be flushed to the actual Channel when Channel.flush or ChannelHandlerContext.flush is called.

Type Aliases

T
SSHWrapperHandler.OutboundOut

The type of the outbound data which will be forwarded to the next ChannelOutboundHandler in the ChannelPipeline.

Default Implementations

Relationships

Conforms To

See Also

Authentication and Internals

A
Authentication Flow

Choose an authentication strategy and understand how the client falls back when a method is unavailable.