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