get_request_body_size


Description:

public uint64 get_request_body_size ()

Get the request body size in bytes.

This is the size of the original body given to the request before any encoding is applied.

This value is available right before [signal@Message:SoupMessageMetrics:wrote-body] signal is emitted, but you might get an intermediate value if called before.

Parameters:

this

a MessageMetrics

Returns:

the request body size