setEncoding

fun setEncoding(encoding: Encoding)

Sets the message body encoding that @hdrs will declare.

In particular, you should use this if you are going to send a request or response in chunked encoding.

Parameters

encoding

a #SoupEncoding