toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.net.http
/
Http
/
Headers
Headers
data
class
Headers
(
val
items
:
List
<
Pair
<
String
,
String
>
>
)
:
Iterable
<
Pair
<
String
,
String
>
>
Members
Members & Extensions
Constructors
Headers
Link copied to clipboard
constructor
(
vararg
items
:
Pair
<
String
,
String
>
)
constructor
(
map
:
Map
<
String
,
String
>
)
constructor
(
str
:
String
?
)
constructor
(
items
:
List
<
Pair
<
String
,
String
>
>
)
Types
Builder
Link copied to clipboard
class
Builder
Companion
Link copied to clipboard
object
Companion
Properties
all
Children
Link copied to clipboard
val
Iterable
<
Xml
>
.
allChildren
:
Iterable
<
Xml
>
all
Node
Children
Link copied to clipboard
val
Iterable
<
Xml
>
.
allNodeChildren
:
Iterable
<
Xml
>
area
Link copied to clipboard
val
Iterable
<
ImageFrame
>
.
area
:
Int
first
Text
Link copied to clipboard
val
Iterable
<
Xml
>
.
firstText
:
String
?
items
Link copied to clipboard
val
items
:
List
<
Pair
<
String
,
String
>
>
text
Link copied to clipboard
val
Iterable
<
Xml
>
.
text
:
String
Functions
cancel
Link copied to clipboard
fun
Iterable
<
Cancellable
>
.
cancel
(
e
:
Throwable
=
CancellationException("")
)
cancellable
Link copied to clipboard
fun
Iterable
<
Cancellable
>
.
cancellable
(
)
:
Cancellable
children
Link copied to clipboard
fun
Iterable
<
Xml
>
.
children
(
name
:
String
)
:
Iterable
<
Xml
>
close
Link copied to clipboard
fun
Iterable
<
Closeable
>
.
close
(
)
closeable
Link copied to clipboard
fun
Iterable
<
Closeable
>
.
closeable
(
)
:
Closeable
contains
All
Link copied to clipboard
fun
containsAll
(
other
:
Http.Headers
)
:
Boolean
execute
And
Wait
Any
Signal
Link copied to clipboard
inline suspend
fun
<
T
>
Iterable
<
Signal
<
T
>
>
.
executeAndWaitAnySignal
(
callback
:
(
)
->
Unit
)
:
Pair
<
Signal
<
T
>
,
T
>
get
Link copied to clipboard
operator
fun
get
(
key
:
String
)
:
String
?
get
Link copied to clipboard
inline
fun
<
T
>
Iterable
<
Vfs.Attribute
>
.
get
(
)
:
T
?
operator
fun
Iterable
<
Xml
>
.
get
(
name
:
String
)
:
Iterable
<
Xml
>
get
All
Link copied to clipboard
fun
getAll
(
key
:
String
)
:
List
<
String
>
get
First
Link copied to clipboard
fun
getFirst
(
key
:
String
)
:
String
?
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
Pair
<
String
,
String
>
>
list
Formats
Link copied to clipboard
fun
Iterable
<
ImageFormat
>
.
listFormats
(
)
:
Set
<
ImageFormat
>
plus
Link copied to clipboard
operator
fun
plus
(
that
:
Http.Headers
)
:
Http.Headers
str
Link copied to clipboard
fun
Iterable
<
Xml
>
.
str
(
name
:
String
,
defaultValue
:
String
=
""
)
:
String
to
Channel
Link copied to clipboard
suspend
fun
<
T
>
Iterable
<
T
>
.
toChannel
(
)
:
ReceiveChannel
<
T
>
to
Http
Header
String
Link copied to clipboard
fun
toHttpHeaderString
(
extraLine
:
Boolean
=
true
)
:
String
to
List
Grouped
Link copied to clipboard
fun
toListGrouped
(
)
:
List
<
Pair
<
String
,
List
<
String
>
>
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
wait
One
Link copied to clipboard
suspend
fun
Iterable
<
Signal
<
*
>
>
.
waitOne
(
)
:
Any
?
with
Appended
Headers
Link copied to clipboard
fun
withAppendedHeaders
(
vararg
newHeaders
:
Pair
<
String
,
String
>
)
:
Http.Headers
fun
withAppendedHeaders
(
newHeaders
:
List
<
Pair
<
String
,
String
>
>
)
:
Http.Headers
with
Replace
Headers
Link copied to clipboard
fun
withReplaceHeaders
(
newHeaders
:
Http.Headers
)
:
Http.Headers
fun
withReplaceHeaders
(
vararg
newHeaders
:
Pair
<
String
,
String
>
)
:
Http.Headers
fun
withReplaceHeaders
(
newHeaders
:
List
<
Pair
<
String
,
String
>
>
)
:
Http.Headers