toggle menu
ktor
3.0.0
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
common
switch theme
search in API
ktor-http
/
io.ktor.http
/
HeadersBuilder
Headers
Builder
class
HeadersBuilder
(
size
:
Int
=
8
)
:
StringValuesBuilderImpl
Members
Members & Extensions
Constructors
Headers
Builder
Link copied to clipboard
constructor
(
size
:
Int
=
8
)
Properties
case
Insensitive
Name
Link copied to clipboard
override
val
caseInsensitiveName
:
Boolean
Functions
append
Link copied to clipboard
open
override
fun
append
(
name
:
String
,
value
:
String
)
append
Link copied to clipboard
fun
StringValuesBuilder
.
append
(
name
:
String
,
value
:
HeaderValueWithParameters
)
Append formatted header value to the builder
append
All
Link copied to clipboard
open
override
fun
appendAll
(
stringValues
:
StringValues
)
open
override
fun
appendAll
(
name
:
String
,
values
:
Iterable
<
String
>
)
append
Missing
Link copied to clipboard
open
override
fun
appendMissing
(
stringValues
:
StringValues
)
open
override
fun
appendMissing
(
name
:
String
,
values
:
Iterable
<
String
>
)
build
Link copied to clipboard
open
override
fun
build
(
)
:
Headers
clear
Link copied to clipboard
open
override
fun
clear
(
)
contains
Link copied to clipboard
open
operator override
fun
contains
(
name
:
String
)
:
Boolean
open
override
fun
contains
(
name
:
String
,
value
:
String
)
:
Boolean
entries
Link copied to clipboard
open
override
fun
entries
(
)
:
Set
<
Map.Entry
<
String
,
List
<
String
>
>
>
etag
Link copied to clipboard
fun
HeadersBuilder
.
etag
(
entityTag
:
String
)
Set
E-Tag
header
get
Link copied to clipboard
open
operator override
fun
get
(
name
:
String
)
:
String
?
get
All
Link copied to clipboard
open
override
fun
getAll
(
name
:
String
)
:
List
<
String
>
?
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
names
Link copied to clipboard
open
override
fun
names
(
)
:
Set
<
String
>
remove
Link copied to clipboard
open
override
fun
remove
(
name
:
String
)
open
override
fun
remove
(
name
:
String
,
value
:
String
)
:
Boolean
remove
Keys
With
No
Entries
Link copied to clipboard
open
override
fun
removeKeysWithNoEntries
(
)
set
Link copied to clipboard
open
operator override
fun
set
(
name
:
String
,
value
:
String
)