The queue on which connection events are delivered.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
- watchOS 6.0+
- Xcode 10.0+
Framework
- Network
Declaration
final var queue: Dispatch Queue? { get }
The queue on which connection events are delivered.
SDKs
Framework
final var queue: Dispatch Queue? { get }
func metadata(definition: NWProtocol Definition) -> NWProtocol Metadata?
Retrieves the connection-wide metadata for a specific protocol.
class NWProtocol Metadata
The abstract superclass for specifying metadata about a network protocol.
let endpoint: NWEndpoint
The remote endpoint with which the connection was initialized.
let parameters: NWParameters
The parameters with which the connection was initialized.
var debug Description: String
The description of the connection.