Instance Methodswift-nio-ssl 2.29.0NIOSSL
channelReadComplete(context:)
NIOSSLHandler.swift:196func channelReadComplete(context: ChannelHandlerContext)
Other members in extension
Types
struct Configuration
Configuration for a specific instance of
NIOSSLHandler
, either client or server.
Typealiases
Instance members
var tlsVersion: TLSVersion?
Variable that can be queried during the connection lifecycle to grab the
TLSVersion
used on this connection.func channelActive(context: ChannelHandlerContext
) func channelInactive(context: ChannelHandlerContext
) func channelRead(context: ChannelHandlerContext, data: NIOAny
) func close(context: ChannelHandlerContext, mode: CloseMode, promise: EventLoopPromise<Void>?
) func flush(context: ChannelHandlerContext
) func handlerAdded(context: ChannelHandlerContext
) func handlerRemoved(context: ChannelHandlerContext
) func stopTLS(promise: EventLoopPromise<Void>?
) Called to instruct this handler to perform an orderly TLS shutdown and then remove itself from the pipeline. This will leave the connection established, but remove the TLS wrapper from it.
func userInboundEventTriggered(context: ChannelHandlerContext, event: Any
) func write(context: ChannelHandlerContext, data: NIOAny, promise: EventLoopPromise<Void>?
)