clearCaches
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.
Return
Result.success on success, Result.failure if the request could not be completed.
Parameters
connection
The device to target.
keys
The keys of the endpoints whose caches should be cleared.