buildHeaders

fun buildHeaders(
    block: HeadersBuilder.() -> Unit = {}
): Headers

Builds an instance of Headers using the block function.