wrapHeaders
fun OutgoingContent.wrapHeaders(block: (Headers) -> Headers): OutgoingContent
Content copied to clipboard
Generates a new OutgoingContent of the same abstract type but with OutgoingContent.headers transformed by the specified block.