How To Get Byte Send/received

I want to log the request from client by write the byte send and received.

But I can’t found how to get that value.

Any suggestion please.