SniResult

public enum SniResult : Equatable

The result of the SNI parsing. If hostname, then the enum also contains the hostname received in the SNI extension. If fallback, then either we could not parse the SNI extension or it was not there at all.

  • Undocumented

    Declaration

    Swift

    case fallback
  • Undocumented

    Declaration

    Swift

    case hostname(String)
  • Declaration

    Swift

    public static func ==(lhs: SniResult, rhs: SniResult) -> Bool