- Preparing search index...
- The search index is not available
cardano-sdk
Constructors
constructor
- new SingleHostName(dnsName: string, port?: number): SingleHostName
-
Parameters
-
dnsName: string
-
Optional
port: number
Properties
Private
#private
#private: any
Methods
dnsName
- dnsName(): string
-
Returns string
port
- port(): undefined | number
-
Returns undefined | number
setDnsName
- setDnsName(dnsName: string): void
-
Returns void
setPort
- setPort(port: undefined | number): void
-
Returns void
toCbor
- toCbor(): HexBlob
-
toCore
- toCore(): RelayByName
-
Static
fromCbor
- fromCbor(cbor: HexBlob): SingleHostName
-
Static
fromCore
- fromCore(relay: RelayByName): SingleHostName
-