WebSocketFoundationSecurity
public class WebSocketFoundationSecurity
extension WebSocketFoundationSecurity: WebSocketCertificatePinning
extension WebSocketFoundationSecurity: WebSocketHeaderValidator
Undocumented
-
Undocumented
Declaration
Swift
public init(allowSelfSigned: Bool = false)
-
Undocumented
Declaration
Swift
public func evaluateTrust(trust: SecTrust, domain: String?, completion: (WebSocketPinningState) -> Void)
-
Undocumented
Declaration
Swift
public func validate(headers: [String : String], key: String) -> Error?