Ktor
Toggle table of contents
3.1.x
Select version
3.5.x
3.4.x
3.3.x
3.2.x
3.1.x
3.0.x
2.3.x
2.2.x
2.0.x
1.6.x
common
jsAndWasmShared
Platform filter
common
jsAndWasmShared
Switch theme
Search in API
Ktor
ktor-utils
/
io.ktor.util
/
AttributesJs
Attributes
Js
jsAndWasmShared
class
AttributesJs
:
Attributes
(
source
)
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
?