MessageHeaders.setEncoding

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.

class MessageHeaders
void
setEncoding
(
SoupEncoding encoding
)

Parameters

encoding SoupEncoding

a #SoupEncoding

Meta