MessageMetrics.getRequestBodySize

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 signalMessage::wrote-body signal is emitted, but you might get an intermediate value if called before.

class MessageMetrics
ulong
getRequestBodySize
()

Return Value

Type: ulong

the request body size