Class NWResolverConfig

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public final class NWResolverConfig
extends NWObject
implements NSObjectProtocol
  • Constructor Details

    • NWResolverConfig

      public NWResolverConfig()
  • Method Details

    • getDefaultContext

      public static NWPrivacyContext getDefaultContext()
      Since:
      Available in iOS 14.0 and later.
    • createHttps

      public static NWResolverConfig createHttps​(NWEndpoint url_endpoint)
      Since:
      Available in iOS 14.0 and later.
    • createTls

      public static NWResolverConfig createTls​(NWEndpoint server_endpoint)
      Since:
      Available in iOS 14.0 and later.
    • addServerAddress

      public void addServerAddress​(NWEndpoint server_address)
      Since:
      Available in iOS 14.0 and later.