The abstract superclass for configuring the options of a network protocol.
SDKs
- iOS 12.0+
- macOS 10.14+
- tvOS 12.0+
- Xcode 10.0+
Framework
- Network
Declaration
class NWProtocolOptions
The abstract superclass for configuring the options of a network protocol.
SDKs
Framework
class NWProtocolOptions
class NWProtocol
The abstract superclass used by Network framework protocols and by custom network protocols that you define.
class NWProtocol Definition
The abstract superclass for identifying a network protocol.
class NWProtocol Metadata
The abstract superclass for specifying metadata about a network protocol.
class NWProtocol IP
A network protocol you use for connections that use the Internet Protocol.
class NWProtocol TCP
A network protocol you use for connections that use the Transmission Control Protocol.
class NWProtocol UDP
A network protocol you use for connections that use the User Datagram Protocol.
class NWProtocol TLS
A network protocol you use for connections that use the Transport Layer Security protocol.