Package-level declarations

Types

Link copied to clipboard
@Serializable
data class ClearRequest(val storageId: StorageId)

Request object containing input parameters for the DOMStorageDomain.clear command.

Link copied to clipboard
@Serializable
object ClearResponse

A dummy response object for the DOMStorageDomain.clear command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
object DisableResponse

A dummy response object for the DOMStorageDomain.disable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard

Query and modify DOM storage.

Link copied to clipboard
@Serializable
object EnableResponse

A dummy response object for the DOMStorageDomain.enable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class GetDOMStorageItemsRequest(val storageId: StorageId)

Request object containing input parameters for the DOMStorageDomain.getDOMStorageItems command.

Link copied to clipboard
@Serializable
data class GetDOMStorageItemsResponse(val entries: List<Item>)

Response type for the DOMStorageDomain.getDOMStorageItems command.

Link copied to clipboard
typealias Item = List<String>

DOM Storage item.

Official doc

Link copied to clipboard
@Serializable
data class RemoveDOMStorageItemRequest(val storageId: StorageId, val key: String)

Request object containing input parameters for the DOMStorageDomain.removeDOMStorageItem command.

Link copied to clipboard
@Serializable
object RemoveDOMStorageItemResponse

A dummy response object for the DOMStorageDomain.removeDOMStorageItem command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
Link copied to clipboard
@Serializable
data class SetDOMStorageItemRequest(val storageId: StorageId, val key: String, val value: String)

Request object containing input parameters for the DOMStorageDomain.setDOMStorageItem command.

Link copied to clipboard
@Serializable
object SetDOMStorageItemResponse

A dummy response object for the DOMStorageDomain.setDOMStorageItem command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class StorageId(val securityOrigin: String? = null, val storageKey: SerializedStorageKey? = null, val isLocalStorage: Boolean)

DOM Storage identifier.