Package-level declarations
Types
Android-specific RetrostashStore backed by:
Per-request OkHttp metadata read by RetrostashOkHttpInterceptor. Attach via the retrostash, retrostashQuery, or retrostashMutate extension on okhttp3.Request.Builder.
Android convenience factories for RetrostashOkHttpBridge.
Top-level OkHttp/Retrofit integration object. Holds the RetrostashEngine + store and installs the two interceptors needed to read/write the cache:
Direct cache control for the OkHttp / Retrofit adapter — peek, update, invalidate*, clearAll. Methods are blocking; each call wraps a single coroutine via runBlocking so Android consumers don't have to manage a coroutine scope.
Tunables for RetrostashOkHttpInterceptor and AndroidRetrostashStore.
OkHttp Interceptor that powers @CacheQuery / @CacheMutate semantics.
Functions
Attaches or merges metadata onto this Request.Builder as an OkHttp tag. Existing tag fields are preserved when incoming values are blank/null/empty.
Marks this request as a Retrostash mutation. Equivalent to @CacheMutate for direct OkHttp use. On a 2xx response, RetrostashOkHttpInterceptor resolves invalidateTemplates against bindings and clears matching cache entries.
Marks this request as a Retrostash query. Equivalent to @CacheQuery for direct OkHttp use.