invoke

open operator fun invoke(first: H, vararg rest: H): Header<H>(source)

Creates a HeaderValues instance using the provided values, marking the header as optional.

Return

a HeaderValues instance capturing the supplied values.

Parameters

first

mandatory first header value.

rest

optional additional values that will be appended in the given order.

See also