Instead of trying to calculate bandwidth based on requests and responses, this approach wraps the underlying raw connection and tracks the total amount of bytes being read and written. This approach will therefore also take into account bytes used for tls handshakes.
Instead of trying to calculate bandwidth based on requests and responses, this approach wraps the underlying raw connection and tracks the total amount of bytes being read and written. This approach will therefore also take into account bytes used for tls handshakes.