(clear-data-for-origin)
(clear-data-for-origin {:as params :keys [origin storage-types]})
(clear-data-for-origin connection {:as params :keys [origin storage-types]})
Clears storage for origin.
Parameters map keys:
Key | Description |
---|---|
:origin | Security origin. |
:storage-types | Comma separated origin names. |
Clears storage for origin. Parameters map keys: Key | Description ---------------|------------ :origin | Security origin. :storage-types | Comma separated origin names.
(get-usage-and-quota)
(get-usage-and-quota {:as params :keys [origin]})
(get-usage-and-quota connection {:as params :keys [origin]})
Returns usage and quota in bytes.
Parameters map keys:
Key | Description |
---|---|
:origin | Security origin. |
Return map keys:
Key | Description |
---|---|
:usage | Storage usage (bytes). |
:quota | Storage quota (bytes). |
:usage-breakdown | Storage usage per type (bytes). |
Returns usage and quota in bytes. Parameters map keys: Key | Description --------|------------ :origin | Security origin. Return map keys: Key | Description -----------------|------------ :usage | Storage usage (bytes). :quota | Storage quota (bytes). :usage-breakdown | Storage usage per type (bytes).
(track-cache-storage-for-origin)
(track-cache-storage-for-origin {:as params :keys [origin]})
(track-cache-storage-for-origin connection {:as params :keys [origin]})
Registers origin to be notified when an update occurs to its cache storage list.
Parameters map keys:
Key | Description |
---|---|
:origin | Security origin. |
Registers origin to be notified when an update occurs to its cache storage list. Parameters map keys: Key | Description --------|------------ :origin | Security origin.
(untrack-cache-storage-for-origin)
(untrack-cache-storage-for-origin {:as params :keys [origin]})
(untrack-cache-storage-for-origin connection {:as params :keys [origin]})
Unregisters origin from receiving notifications for cache storage.
Parameters map keys:
Key | Description |
---|---|
:origin | Security origin. |
Unregisters origin from receiving notifications for cache storage. Parameters map keys: Key | Description --------|------------ :origin | Security origin.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close