Array

extension Array: AlamofireExtended
extension Array where Element == ServerTrustEvaluating

Available where Element == ServerTrustEvaluating

  • Evaluates the given SecTrust value for the given host.

    Declaration

    Swift

    public func evaluate(_ trust: SecTrust, forHost host: String) throws

    Parameters

    trust

    The SecTrust value to evaluate.

    host

    The host for which to evaluate the SecTrust value.

    Return Value

    Whether or not the evaluator considers the SecTrust value valid for host.