chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.applicationcache / ApplicationCacheDomain

ApplicationCacheDomain

class ApplicationCacheDomain

Official doc

Functions

applicationCacheStatusUpdated

Official doc

fun applicationCacheStatusUpdated(): Flow<ApplicationCacheStatusUpdatedEvent>

enable

Enables application cache domain notifications.

suspend fun enable(): Unit

events

Subscribes to all events related to this domain.

fun events(): Flow<ApplicationCacheEvent>

getApplicationCacheForFrame

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

suspend fun getApplicationCacheForFrame(input: GetApplicationCacheForFrameRequest): GetApplicationCacheForFrameResponse

getFramesWithManifests

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

suspend fun getFramesWithManifests(): GetFramesWithManifestsResponse

getManifestForFrame

Returns manifest URL for document in the given frame.

suspend fun getManifestForFrame(input: GetManifestForFrameRequest): GetManifestForFrameResponse

networkStateUpdated

Official doc

fun networkStateUpdated(): Flow<NetworkStateUpdatedEvent>