Initializes a new instance of the SingleHostName relay.
The DNS name of the relay (pointing to an A or AAAA DNS record).
Optional
port: numberThe port of the relay.
Private
#dnsPrivate
#originalPrivate
#portCreates a Core RelayByName object from the current SingleHostName object.
The Core RelayByName object.
Static
fromDeserializes the SingleHostName from a CBOR byte array.
The new SingleHostName instance.
The CBOR encoded SingleHostName object.
Static
fromCreates a SingleHostName object from the given Core RelayByName object.
The core RelayByName object.
Generated using TypeDoc
This relay points to a single host via a DNS (pointing to an A or AAAA DNS record) name and a given port.