pl.wendigo.chrome.api.indexeddb / IndexedDBOperations

IndexedDBOperations

class IndexedDBOperations (source)

IndexedDBOperations represents IndexedDB 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 IndexedDB domain documentation.

Functions

clearObjectStore

fun clearObjectStore(input: ClearObjectStoreRequest): Single<ResponseFrame>

Clears all entries from an object store.

deleteDatabase

fun deleteDatabase(input: DeleteDatabaseRequest): Single<ResponseFrame>

Deletes a database.

deleteObjectStoreEntries

fun deleteObjectStoreEntries(input: DeleteObjectStoreEntriesRequest): Single<ResponseFrame>

Delete a range of entries from an object store

disable

fun disable(): Single<ResponseFrame>

Disables events from backend.

enable

fun enable(): Single<ResponseFrame>

Enables events from backend.

events

fun events(): Flowable<Event>

Returns flowable capturing all IndexedDB domains events.

getMetadata

fun getMetadata(input: GetMetadataRequest): Single<GetMetadataResponse>

Gets metadata of an object store

requestData

fun requestData(input: RequestDataRequest): Single<RequestDataResponse>

Requests data from object store or index.

requestDatabase

fun requestDatabase(input: RequestDatabaseRequest): Single<RequestDatabaseResponse>

Requests database with given name in given frame.

requestDatabaseNames

fun requestDatabaseNames(input: RequestDatabaseNamesRequest): Single<RequestDatabaseNamesResponse>

Requests database names for given security origin.