Contents

disconnectPeer(fromAllPeers:)

Disconnects a connected peer from all peers connected to the session.

Declaration

func disconnectPeer(fromAllPeers peerID: String!)

Parameters

  • peerID:

    A string identifying the peer to disconnect.

See Also

Working with Connected Peers