setAccumulate

fun setAccumulate(accumulate: Boolean)

Sets or clears the accumulate flag on @body.

(The default value is true.) If set to false, @body's data field will not be filled in after the body is fully sent/received, and the chunks that make up @body may be discarded when they are no longer needed.

If you set the flag to false on the class@Message request_body of a client-side message, it will block the accumulation of chunks into

Parameters

accumulate

whether or not to accumulate body chunks in @body