Headers

fun Headers(block: HeadersSpec.() -> Unit): <Error class: unknown class>

Creates a new Headers as configured by the given spec block.


fun Headers(headers: <Error class: unknown class>, block: HeadersSpec.() -> Unit): <Error class: unknown class>

Creates a copy of the given headers after configuring with the given spec block.