header

fun header(name: String, configure: Parameter.Builder.() -> Unit = {})(source)

Adds a header parameter with the given name.

Report a problem

Parameters

name

The parameter name.

configure

Optional DSL to further configure the parameter.