parameter

fun parameter(name: String, configure: Parameter.Builder.() -> Unit)(source)

Deprecated

Use path, query, header, or cookie instead.

Adds a generic Parameter via the provided configure block.

This is used internally for marking ambiguous parameter types (i.e., call.parameters)

Report a problem

Parameters

configure

DSL to configure the parameter.