toggle menu
kilua-project
0.0.17
common
switch theme
search in API
kilua-dom
/
web.workers
/
Cache
Cache
abstract
class
Cache
:
JsAny
Exposes the JavaScript
Cache
to Kotlin
Members
Constructors
Cache
Link copied to clipboard
constructor
(
)
Functions
add
Link copied to clipboard
fun
add
(
request
:
String
)
:
Promise
<
Nothing
?
>
fun
add
(
request
:
Request
)
:
Promise
<
Nothing
?
>
add
All
Link copied to clipboard
fun
addAll
(
requests
:
JsArray
<
JsAny
?
>
)
:
Promise
<
Nothing
?
>
delete
Link copied to clipboard
fun
delete
(
request
:
String
,
options
:
CacheQueryOptions
)
:
Promise
<
*
>
fun
delete
(
request
:
Request
,
options
:
CacheQueryOptions
)
:
Promise
<
*
>
keys
Link copied to clipboard
fun
keys
(
)
:
Promise
<
*
>
fun
keys
(
request
:
String
,
options
:
CacheQueryOptions
)
:
Promise
<
*
>
fun
keys
(
request
:
Request
,
options
:
CacheQueryOptions
)
:
Promise
<
*
>
match
Link copied to clipboard
fun
match
(
request
:
String
,
options
:
CacheQueryOptions
)
:
Promise
<
*
>
fun
match
(
request
:
Request
,
options
:
CacheQueryOptions
)
:
Promise
<
*
>
match
All
Link copied to clipboard
fun
matchAll
(
)
:
Promise
<
*
>
fun
matchAll
(
request
:
String
,
options
:
CacheQueryOptions
)
:
Promise
<
*
>
fun
matchAll
(
request
:
Request
,
options
:
CacheQueryOptions
)
:
Promise
<
*
>
put
Link copied to clipboard
fun
put
(
request
:
String
,
response
:
Response
)
:
Promise
<
Nothing
?
>
fun
put
(
request
:
Request
,
response
:
Response
)
:
Promise
<
Nothing
?
>