HeaderMetadata

data class HeaderMetadata(val name: String, val type: TypeMetadata, val required: Boolean = true, val values: List<String> = emptyList())(source)

Metadata describing a Tapik header definition.

Constructors

Link copied to clipboard
constructor(name: String, type: TypeMetadata, required: Boolean = true, values: List<String> = emptyList())

Properties

Link copied to clipboard

header name.

Link copied to clipboard

whether the header must be present on the wire.

Link copied to clipboard

Kotlin type metadata for the header value.

Link copied to clipboard

optional list of preconfigured header values.