gotChunk

fun gotChunk(chunk: <Error class: unknown class>)

Handles the #SoupMessageBody part of receiving a chunk of data from the network.

Normally this means appending @chunk to @body, exactly as with method@MessageBody.append_bytes, but if you have set @body's accumulate flag to false, then that will not happen.

This is a low-level method which you should not normally need to use.

Parameters

chunk

a #GBytes received from the network