Types
NameResolver = ref object of RootObj
- Source Edit
Procs
proc getHostname(ma: MultiAddress): string {....raises: [], tags: [RootEffect].}
- Source Edit
proc resolveDnsAddr(self: NameResolver; ma: MultiAddress; depth: int = 0): InternalRaisesFuture[ seq[MultiAddress], (CancelledError, LPError)] {.stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [], tags: [RootEffect].}
- Source Edit
proc resolveMAddress(self: NameResolver; address: MultiAddress): InternalRaisesFuture[ seq[MultiAddress], (CancelledError, LPError)] {.stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [], tags: [RootEffect].}
- Source Edit
Methods
method resolveIp(self: NameResolver; address: string; port: Port; domain: Domain = Domain.AF_UNSPEC): InternalRaisesFuture[ seq[TransportAddress], (CancelledError,)] {.base, stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [], tags: [].}
- Source Edit
method resolveTxt(self: NameResolver; address: string): InternalRaisesFuture[ seq[string], (CancelledError,)] {.base, stackTrace: false, ...raises: [], gcsafe, raises: [], raises: [], tags: [].}
- Source Edit