Storage.setSharedStorageEntrySets entry with `key` and `value` for a given origin's shared storage.
| Name | Type | Description |
|---|---|---|
ownerOrigin | string | |
key | string | |
value | string | |
ignoreIfPresent (optional) | boolean | If `ignoreIfPresent` is included and true, then only sets the entry if `key` doesn't already exist. |
{
"id": 1,
"method": "Storage.setSharedStorageEntry",
"params": {
"ownerOrigin": "ownerOrigin-value",
"key": "example-name",
"value": "example-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('Storage.setSharedStorageEntry', {"ownerOrigin": "ownerOrigin-value", "key": "example-name", "value": "example-value"});
console.log(result);