Nim-LibP2P Copyright (c) 2021 Status Research & Development GmbH
- Licensed under either of
- Apache License, version 2.0, (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option. This file may not be copied, modified, or distributed except according to those terms.
Methods
method dial(self: Dial; peerId: PeerId; addrs: seq[MultiAddress]; protos: seq[string]; forceDial = false): Future[Connection] {.base, stackTrace: false, ...gcsafe, raises: [Defect], tags: [RootEffect].}
- create a protocol stream and establish a connection if one doesn't exist already Source Edit