https://kotlinlang.org logo
#ktor
Title
# ktor
b

bitkid

01/27/2020, 4:14 PM
is it possible to use
Copy code
call.respondTextWriter
together with http content compression? so basically that it writes back a chunked gzip stream.
or do i use
Copy code
call.respondOutputStream
and do the gzip/deflate myself? any helper classes from ktor i can use for that?
an example would be super nice :)
ok stupid me .. works out of the box. forgot to install(Compression) :|
👍 1
2 Views