libp2p/dial

    Dark Mode
Search:
Group by:
  Source   Edit

Types

Dial = ref object of RootObj
  Source   Edit

Methods

method addTransport(self: Dial; transport: Transport) {.base, ...raises: [],
    tags: [].}
  Source   Edit
method connect(self: Dial; address: MultiAddress; allowUnknownPeerId = false): InternalRaisesFuture[
    PeerId, (CancelledError, LPError)] {.base, stackTrace: false, ...raises: [],
    gcsafe, raises: [], raises: [], tags: [].}
  Source   Edit
method connect(self: Dial; peerId: PeerId; addrs: seq[MultiAddress];
               forceDial = false; reuseConnection = true; dir = Direction.Out): InternalRaisesFuture[
    void, (CancelledError, LPError)] {.base, stackTrace: false, ...raises: [],
                                       gcsafe, raises: [], raises: [], tags: [].}
  Source   Edit
method dial(self: Dial; peerId: PeerId; addrs: seq[MultiAddress];
            protos: seq[string]; forceDial = false): InternalRaisesFuture[
    Connection, (CancelledError, LPError)] {.base, stackTrace: false,
    ...raises: [], gcsafe, raises: [], raises: [], tags: [].}
  Source   Edit
method dial(self: Dial; peerId: PeerId; protos: seq[string]): InternalRaisesFuture[
    Connection, (CancelledError, LPError)] {.base, stackTrace: false,
    ...raises: [], gcsafe, raises: [], raises: [], tags: [].}
  Source   Edit
method tryDial(self: Dial; peerId: PeerId; addrs: seq[MultiAddress]): Future[
    Opt[MultiAddress]] {.base, stackTrace: false, ...raises: [], gcsafe,
                         raises: [], raises: [], tags: [RootEffect].}
  Source   Edit