client property

Client get client

An http.Client where every request routes over the tailnet.

Drop-in replacement for a regular http.Client. Available after Tailscale.up completes; throws TailscaleUsageException before.

Implementation

http.Client get client;