All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jsMain.web.cache.CacheStorage.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

package web.cache

import js.core.ReadonlyArray
import web.http.Request
import web.http.Response
import web.url.URL
import kotlin.js.Promise

sealed external class CacheStorage {
    fun delete(cacheName: String): Promise
    fun has(cacheName: String): Promise
    fun keys(): Promise>
    fun match(
        request: Request,
        options: MultiCacheQueryOptions = definedExternally,
    ): Promise

    fun match(
        request: String,
        options: MultiCacheQueryOptions = definedExternally,
    ): Promise

    fun match(
        request: URL,
        options: MultiCacheQueryOptions = definedExternally,
    ): Promise

    fun open(cacheName: String): Promise
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy