getStats
The getStats() method of the WebTransport interface asynchronously returns an object containing HTTP/3 connection statistics.
The getStats() method of the WebTransportReceiveStream interface asynchronously returns an object containing statistics for the current stream.
The getStats() method of the WebTransportSendGroup interface returns a Promise that resolves to an object containing statistics aggregated across all of the WebTransportSendStream objects currently associated with this group. That is, every stream whose sendGroup is set to this WebTransportSendGroup.
The getStats() method of the WebTransportSendStream interface asynchronously returns an object containing statistics for the current stream.