public static class Headers.Companion
Modifier and Type | Method and Description |
---|---|
Headers |
build(kotlin.jvm.functions.Function1<? super io.ktor.http.HeadersBuilder,kotlin.Unit> builder)
Builds a
interface Headers instance with the given builder function |
Headers |
getEmpty()
Empty
interface Headers instance |
public Headers getEmpty()
Empty interface Headers
instance
interface Headers
public Headers build(kotlin.jvm.functions.Function1<? super io.ktor.http.HeadersBuilder,kotlin.Unit> builder)
Builds a interface Headers
instance with the given builder function
builder
- specifies a function to build a mapinterface Headers