Tls class abstract

TLS-terminated listener for this node, with a cert auto-provisioned by Tailscale for this tailnet.

Reached via Tailscale.tls. Requires the tailnet operator to have enabled MagicDNS and HTTPS. domains is read-only certificate-name discovery, not a platform-support preflight: a non-empty result does not prove that bind can acquire a certificate on the current platform.

Constructors

Tls()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind({required int port, String? address}) Future<TailscaleListener>
Accepts inbound HTTPS/TLS connections on the tailnet.
domains() Future<List<String>>
Subject Alternative Names present in the auto-provisioned certificate — typically <node>.<tailnet>.ts.net.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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