ktor-client-core / io.ktor.client.request / ClientUpgradeContent

ClientUpgradeContent

abstract class ClientUpgradeContent : NoContent

Constructors

<init>

ClientUpgradeContent()

Properties

output

val output: ByteWriteChannel

Functions

pipeTo

suspend fun pipeTo(output: ByteWriteChannel): Unit

verify

abstract fun verify(headers: Headers): Unit

Extension Functions

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.