Types
RelayTransport = ref object of Transport client*: RelayClient queue: AsyncQueue[Connection] selfRunning: bool
- Source Edit
Procs
proc dial(self: RelayTransport; ma: MultiAddress): Future[Connection] {. stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [], tags: [RootEffect].}
- Source Edit
proc new(T: typedesc[RelayTransport]; cl: RelayClient; upgrader: Upgrade): T:type {. ...raises: [].}
- Source Edit
Methods
method accept(self: RelayTransport): Future[Connection] {.stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [], tags: [RootEffect].}
- Source Edit
method dial(self: RelayTransport; hostname: string; ma: MultiAddress; peerId: Opt[PeerId] = Opt.none(PeerId)): Future[Connection] {. stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [], tags: [RootEffect].}
- Source Edit
method handles(self: RelayTransport; ma: MultiAddress): bool {....gcsafe, raises: [], tags: [].}
- Source Edit
method start(self: RelayTransport; ma: seq[MultiAddress]): Future[void] {. stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [], tags: [RootEffect].}
- Source Edit
method stop(self: RelayTransport): Future[void] {.stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [], tags: [RootEffect].}
- Source Edit