headers

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

Configures additional headers for the response using the specified lambda block.

Parameters

block

A lambda function applied to the ResponseHeaders object to configure headers.


val headers: MutableList<<Error class: unknown class><String, String>>