Type Aliasswift-websocket 1.1.1WSClient
Result
TLSClientChannel.swift:24typealias Result = BaseChannel.Result
typealias Result = BaseChannel.Result
import WSClient
struct TLSClientChannel<BaseChannel> where BaseChannel : ClientConnectionChannel
Sets up client channel to use TLS before accessing base channel setup
associatedtype Result
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 Value = BaseChannel.Value