Type Aliasswift-nio 2.84.0NIOTLS
InboundIn
SNIHandler.swift:99typealias InboundIn = ByteBuffer
typealias InboundIn = ByteBuffer
import NIOTLS
final class SNIHandler
A channel handler that can be used to arbitrarily edit a channel pipeline based on the hostname requested in the Server Name Indication portion of the TLS Client Hello.
struct ByteBuffer
ByteBuffer
stores contiguously allocated raw bytes. It is a random and sequential accessible sequence of zero or more bytes (octets).
init(sniCompleteHandler: @escaping (SNIResult) -> EventLoopFuture<Void>)
var cumulationBuffer: Optional<ByteBuffer>
func decode(context: ChannelHandlerContext, buffer: inout ByteBuffer) -> DecodingState
func decodeLast(context: ChannelHandlerContext, buffer: inout ByteBuffer, seenEOF: Bool) throws -> DecodingState
typealias InboundOut = ByteBuffer