Expand description
The transport: one client, and the rules every call goes through.
Everything above this module builds a path and reads a body. What lives here is the part that is the same for all 93 tailnet tools — which credential goes on the wire, when a failed call is worth repeating, how many may be in flight at once, and how large an answer this server will hold.
Structs§
- Answer
- A parsed answer, and the body it was parsed from.
- Client
- A client for the control plane.
- Client
Config - How to reach the control plane.
- Request
Builder - One call, before it is sent.
- Text
Body - A body that was asked for as text, and the version it was read at.
Constants§
- DEFAULT_
BASE_ URL - The control plane. Pinned rather than configured, because a server that can be pointed at another host is a server that can be pointed at an attacker’s.
- DEFAULT_
BUDGET - How long one call may take, across every attempt it makes.
- DEFAULT_
CONCURRENCY - How many calls may be in flight at once.
Functions§
- checked_
base_ url - Where a client may point.