checkServerIdentity

abstract external var checkServerIdentity: (hostname: String, cert: PeerCertificate) -> Error??(source)