Skip to content

Commit

Permalink
Implement didReceiveCertificate
Browse files Browse the repository at this point in the history
  • Loading branch information
nathankot committed May 24, 2016
1 parent dbd64fc commit 7a229d3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions RxMultipeer/Adapters/MultipeerConnectivitySession.swift
Original file line number Diff line number Diff line change
Expand Up @@ -427,4 +427,11 @@ extension MultipeerConnectivitySession : MCSessionDelegate {
self._receivedStreams.on(.Next(peerID, streamName, stream))
}

public func session(_: MCSession,
didReceiveCertificate _: [AnyObject]?,
fromPeer _: MCPeerID,
certificateHandler: (Bool) -> Void) {
certificateHandler(true)
}

}

0 comments on commit 7a229d3

Please sign in to comment.