init(_:tlsConfiguration:serverHostname:)

Initialize TLSChannel

TLSClientChannel.swift:30
init(_ baseChannel: BaseChannel, tlsConfiguration: TLSConfiguration, serverHostname: String? = nil) throws
  • baseChannel: Base child channel wrap

  • tlsConfiguration: TLS configuration