gomobile-ipfs icon indicating copy to clipboard operation
gomobile-ipfs copied to clipboard

SetStreamHandler(protocolID, handler) and NewStream(peerID, protocolID) bindings

Open moul opened this issue 5 years ago • 0 comments

  • This will allow developers using gomobile-ipfs to simply establish p2p connections and implement logic around them.
  • Example: a developer wants to create an application that displays notifications from a smartphone on a desktop PC without using servers will be able to use gomobile-ipfs to simply establish a direct connection between the two devices and implement the notifications transfer logic in the handlers.
  • TODO: add code example for SetStreamHandler(protocolID, handler) and NewStream(peerID, protocolID) usage

moul avatar Oct 27 '20 12:10 moul