TailscalePublishedService class final
A Serve or Funnel publication that forwards inbound traffic to a local loopback HTTP service.
This is a publication handle, not a socket. The local app owns the HTTP server on localAddress:localPort; Tailscale owns the tailnet/public listener and proxies requests to that local server.
Publications created by this package are process-scoped. Call close when
the publication should disappear; Tailscale.down() also removes
package-created publications best-effort before stopping the embedded node.
Properties
- funnel → bool
-
Whether this publication is exposed through Tailscale Funnel.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- https → bool
-
Whether Tailscale terminates HTTPS before proxying to the local service.
final
- localAddress → String
-
Local address that Tailscale proxies to. Defaults to
127.0.0.1.final - localPort → int
-
Local HTTP server port that Tailscale proxies to.
final
- path → String
-
Path prefix mounted on url.
final
- port → int
-
Published port on the node's MagicDNS name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → Uri
-
URL where clients can reach the publication.
final
Methods
-
close(
) → Future< void> - Removes this publication from the embedded node.
-
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.
inherited