toggle menu
ktor
3.0.3
3.0.3
3.0.2
3.0.0
2.3.12
2.2.4
2.0.3
1.6.8
common
jsAndWasmShared
switch theme
search in API
ktor-utils
/
io.ktor.util
/
AttributesJs
Attributes
Js
jsAndWasmShared
class
AttributesJs
:
Attributes
Members
Members & Extensions
Constructors
Attributes
Js
Link copied to clipboard
jsAndWasmShared
constructor
(
)
Properties
all
Keys
Link copied to clipboard
jsAndWasmShared
open
override
val
allKeys
:
List
<
AttributeKey
<
*
>
>
Functions
compute
If
Absent
Link copied to clipboard
jsAndWasmShared
open
override
fun
<
T
:
Any
>
computeIfAbsent
(
key
:
AttributeKey
<
T
>
,
block
:
(
)
->
T
)
:
T
contains
Link copied to clipboard
jsAndWasmShared
open
operator override
fun
contains
(
key
:
AttributeKey
<
*
>
)
:
Boolean
get
Link copied to clipboard
jsAndWasmShared
open
operator
fun
<
T
:
Any
>
get
(
key
:
AttributeKey
<
T
>
)
:
T
get
Or
Null
Link copied to clipboard
jsAndWasmShared
open
override
fun
<
T
:
Any
>
getOrNull
(
key
:
AttributeKey
<
T
>
)
:
T
?
put
Link copied to clipboard
jsAndWasmShared
open
override
fun
<
T
:
Any
>
put
(
key
:
AttributeKey
<
T
>
,
value
:
T
)
put
All
Link copied to clipboard
fun
Attributes
.
putAll
(
other
:
Attributes
)
Adds all attributes from another collection, replacing original values if any.
remove
Link copied to clipboard
jsAndWasmShared
open
override
fun
<
T
:
Any
>
remove
(
key
:
AttributeKey
<
T
>
)
take
Link copied to clipboard
jsAndWasmShared
open
fun
<
T
:
Any
>
take
(
key
:
AttributeKey
<
T
>
)
:
T
take
Or
Null
Link copied to clipboard
jsAndWasmShared
open
fun
<
T
:
Any
>
takeOrNull
(
key
:
AttributeKey
<
T
>
)
:
T
?