Instance Method


Retrieves the connection-wide metadata for a specific protocol.


final func metadata(definition: NWProtocolDefinition) -> NWProtocolMetadata?

See Also

Inspecting Connections

class NWProtocolMetadata

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 queue: DispatchQueue?

The queue on which connection events are delivered.

var debugDescription: String

The description of the connection.