DERPNode class

Annotations

Constructors

DERPNode({required String name, required String hostName, String? ipv4, String? ipv6, int derpPort = 0, int stunPort = 0, bool canPort80 = false})
const

Properties

canPort80 bool
True when this node accepts DERP connections on port 80 (used when outbound 443 is blocked by a captive portal).
final
derpPort int
Non-zero DERP service port override. 0 means use the upstream default.
final
hashCode int
The hash code for this object.
no setteroverride
hostName String
DNS hostname of this DERP node.
final
ipv4 String?
Optional IPv4 override (skips DNS when non-empty). The conventional string "none" disables IPv4 entirely.
final
ipv6 String?
Optional IPv6 override; same semantics as ipv4.
final
name String
Unique node name across all regions (e.g. 1b, 2a).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stunPort int
Non-zero STUN service port override.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override