wrapHeaders

fun OutgoingContent.wrapHeaders(block: (Headers) -> Headers): OutgoingContent(source)

Generates a new OutgoingContent of the same abstract type but with OutgoingContent.headers transformed by the specified block.

Report a problem