CallSpec
The per-call settings of UpstreamClient.call: the receiver of its lambda. Stable Core. Every property is seeded, so reading it inside the lambda gives the effective value (maxWait = maxWait * 2 doubles the client's default). Not thread-safe; use it only inside the lambda.
Properties
The request body; null (none) by default. A body on GET is an InvalidRequest.
The oldest cached answer this call accepts; Duration.INFINITE (any live entry) by default. Not negative.
The request method; GET by default. Only GET goes through the cache.
Functions
Edits this call's request headers, which start as the client's default headers: add appends, set and setSensitive replace, remove drops. Several blocks edit the same builder. Per-call headers are not part of the cache key: do not use one that changes the answer on a cached endpoint.