retrostashQuery

fun ERROR CLASS: Symbol not found for Request.Builder.retrostashQuery(scopeName: String, template: String, bindings: Map<String, String> = emptyMap(), maxAgeMs: Long = 0, tags: List<String> = emptyList()): ERROR CLASS: Symbol not found for Request.Builder

Marks this request as a Retrostash query. Equivalent to @CacheQuery for direct OkHttp use.

Parameters

scopeName

Logical namespace (typically the API class name).

template

Cache template (e.g. "users/{id}").

bindings

Placeholder values from the call site.

maxAgeMs

TTL in milliseconds. 0 disables persistence (lookup-only).

tags

Tag templates to resolve and persist with the cache entry. Same {placeholder} syntax as template; resolved against bindings / request body at write time.