MessageMetrics.getResponseBodySize

ulong getResponseBodySize()

Get the response body size in bytes.

This is the size of the body as given to the user after all encodings are applied, so it might be greater than the value returned by soup.message_metrics.MessageMetrics.getResponseBodyBytesReceived. This value is available right before soup.message.Message.gotBody signal is emitted, but you might get an intermediate value if called before.

Returns

the response body size