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. Use domains as a preflight; an empty result means the tailnet cannot currently serve auto-provisioned TLS certs.

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