MessageBody.gotChunk

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

Normally this means appending chunk to body, exactly as with soup.message_body.MessageBody.appendBytes, 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.

class MessageBody
void
gotChunk

Parameters

chunk glib.bytes.Bytes

a #GBytes received from the network