Type Aliasswift-websocket 1.1.1WSClient
Value
TLSClientChannel.swift:23typealias Value = BaseChannel.Value
typealias Value = BaseChannel.Value
import WSClient
struct TLSClientChannel<BaseChannel> where BaseChannel : ClientConnectionChannel
Sets up client channel to use TLS before accessing base channel setup
associatedtype Value : Sendable
init(_ baseChannel: BaseChannel, tlsConfiguration: TLSConfiguration, serverHostname: String? = nil) throws
Initialize TLSChannel
func handle(value: BaseChannel.Value, logger: Logging.Logger) async throws -> Result
func setup(channel: Channel, logger: Logger) -> EventLoopFuture<Value>
Setup child channel with TLS and the base channel setup
typealias Result = BaseChannel.Result