directConnect abstract method

Future<void> directConnect(
  1. PeerId peerId
)

DirectConnect attempts to make a direct connection with a remote peer. It first attempts a direct dial (if we have a public address of that peer), and then coordinates a hole punch over the given relay connection.

Implementation

Future<void> directConnect(PeerId peerId);