ContentEncoder

interface ContentEncoder : Encoder

Client content encoder.

Properties

name

abstract val name: String

Encoder identifier to use in http headers.

Inherited Functions

decode

abstract fun CoroutineScope.decode(
    source: ByteReadChannel
): ByteReadChannel

Launch coroutine to decode source bytes.

encode

abstract fun CoroutineScope.encode(
    source: ByteReadChannel
): ByteReadChannel

Launch coroutine to encode source bytes.