ste
br
ktor-client-encoding
implementation("org.brotli:dec:0.1.2")
install(ContentEncoding) { this.customEncoder(object : ContentEncoder { override val name = "br" override fun CoroutineScope.decode(source: ByteReadChannel): ByteReadChannel { return BrotliInputStream(source.toInputStream()).toByteReadChannel() } override fun CoroutineScope.encode(source: ByteReadChannel): ByteReadChannel { TODO() } }) }
Aleksei Tirman [JB]
ktor
A modern programming language that makes developers happier.