w3c / webtransport

WebTransport is a web API for flexible data transport
https://w3c.github.io/webtransport/
Other
821 stars 51 forks source link

Should all fields in WebTransportConnectionStats be nullable? #567

Closed vasilvv closed 5 months ago

vasilvv commented 7 months ago

We can always get minRtt and friends on all platforms for QUIC, since we use UDP. For HTTP/2 and TCP, we're at the mercy of platform APIs, and not all of those may be consistently available everywhere. We should make those nullable rather than present a bogus value to the user.

jan-ivar commented 7 months ago

These are dictionaries, which allows us to omit members already. Might this serve the same purpose?

jan-ivar commented 7 months ago

Meeting: