pl.wendigo.chrome.api.applicationcache / ApplicationCacheOperations

ApplicationCacheOperations

class ApplicationCacheOperations (source)

ApplicationCacheOperations represents ApplicationCache 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 ApplicationCache domain documentation.

Functions

applicationCacheStatusUpdated

fun applicationCacheStatusUpdated(): Flowable<ApplicationCacheStatusUpdatedEvent>

Returns observable capturing all ApplicationCache.applicationCacheStatusUpdated events.

enable

fun enable(): Single<ResponseFrame>

Enables application cache domain notifications.

events

fun events(): Flowable<Event>

Returns flowable capturing all ApplicationCache domains events.

getApplicationCacheForFrame

fun getApplicationCacheForFrame(input: GetApplicationCacheForFrameRequest): Single<GetApplicationCacheForFrameResponse>

Returns relevant application cache data for the document in given frame.

getFramesWithManifests

fun getFramesWithManifests(): Single<GetFramesWithManifestsResponse>

Returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.

getManifestForFrame

fun getManifestForFrame(input: GetManifestForFrameRequest): Single<GetManifestForFrameResponse>

Returns manifest URL for document in the given frame.

networkStateUpdated

fun networkStateUpdated(): Flowable<NetworkStateUpdatedEvent>

Returns observable capturing all ApplicationCache.networkStateUpdated events.