CacheClearingService
interface CacheClearingService
Clears endpoint response caches on a connected device. Clearing a cache causes the next request to that endpoint to return a fresh response rather than a cached one.
Functions
Link copied to clipboard
Clears the response cache for every endpoint on the device at connection.
Link copied to clipboard
abstract suspend fun clearCaches(connection: MockzillaConnectionConfig, keys: List<EndpointConfiguration.Key>): Result<Unit>
Clears the response cache for the specified endpoints on the device at connection.