pl.wendigo.chrome.api.cachestorage / CacheStorageOperations

CacheStorageOperations

class CacheStorageOperations (source)

CacheStorageOperations represents CacheStorage protocol domain request/response operations and events that can be captured.

This API is marked as experimental in protocol definition and can change in the future.

Link
Protocol CacheStorage domain documentation.

Functions

deleteCache

fun deleteCache(input: DeleteCacheRequest): Single<ResponseFrame>

Deletes a cache.

deleteEntry

fun deleteEntry(input: DeleteEntryRequest): Single<ResponseFrame>

Deletes a cache entry.

events

fun events(): Flowable<Event>

Returns flowable capturing all CacheStorage domains events.

requestCachedResponse

fun requestCachedResponse(input: RequestCachedResponseRequest): Single<RequestCachedResponseResponse>

Fetches cache entry.

requestCacheNames

fun requestCacheNames(input: RequestCacheNamesRequest): Single<RequestCacheNamesResponse>

Requests cache names.

requestEntries

fun requestEntries(input: RequestEntriesRequest): Single<RequestEntriesResponse>

Requests data from cache.