Methods
method addTransport(self: Dial; transport: Transport) {.base, ...raises: [Defect], tags: [].}
- Source Edit
method connect(self: Dial; peerId: PeerId; addrs: seq[MultiAddress]; forceDial = false): Future[void] {.base, stackTrace: false, ...gcsafe, raises: [Defect], raises: [Defect], tags: [RootEffect].}
- connect remote peer without negotiating a protocol Source Edit
method dial(self: Dial; peerId: PeerId; addrs: seq[MultiAddress]; protos: seq[string]; forceDial = false): Future[Connection] {.base, stackTrace: false, ...gcsafe, raises: [Defect], raises: [Defect], tags: [RootEffect].}
- create a protocol stream and establish a connection if one doesn't exist already Source Edit