Contents

nw_resolver_config_create_tls(_:)

Initializes a DNS-over-TLS resolver configuration.

Declaration

func nw_resolver_config_create_tls(_ server_endpoint: nw_endpoint_t) -> nw_resolver_config_t

Parameters

  • server_endpoint:

    The hostname of the provided endpoint will be used to validate the TLS certificate of the server. See Rfc7858 for more details.

See Also

Requiring Encrypted DNS