libp2p/dial

    Dark Mode
Search:
Group by:
  Source   Edit

Nim-LibP2P Copyright (c) 2021 Status Research & Development GmbH

Licensed under either of

at your option. This file may not be copied, modified, or distributed except according to those terms.

Types

Dial = ref object of RootObj
  Source   Edit

Methods

method connect(self: Dial; peerId: PeerId; addrs: seq[MultiAddress];
               forceDial = false): Future[void] {.base, stackTrace: false,
    ...gcsafe, 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], tags: [RootEffect].}
create a protocol stream and establish a connection if one doesn't exist already   Source   Edit
method dial(self: Dial; peerId: PeerId; protos: seq[string]): Future[Connection] {.
    base, stackTrace: false, ...gcsafe, raises: [Defect], tags: [RootEffect].}
create a protocol stream over an existing connection   Source   Edit