Clean up quic_time.h APIs.

* Move QuicTime::Delta out of the subclass into QuicTimeDelta, since it does not access any private members of QuicTime. I currently don't have a plan to rename it everywhere, but it's two less characters to type.
* Clean up some legacy macros.
* Replace QuicTimeDelta::FromAbsl() with a constructor; we don't need an explicitly static method, since the semantics of constructing a TimeDelta from a duration is unambiguous.
* Explain why we don't use absl::Duration. Add a note that we probably should be using absl::Time.
* Other minor cleanups.

PiperOrigin-RevId: 518778525
2 files changed
tree: 389c393b9b924631f01670b73a9fe612b7a4ec59
  1. build/
  2. depstool/
  3. quiche/
  4. .bazelrc
  5. BUILD.bazel
  6. CONTRIBUTING.md
  7. LICENSE
  8. README.md
  9. WHITESPACE
  10. WORKSPACE.bazel
README.md

QUICHE

QUICHE stands for QUIC, Http, Etc. It is Google‘s production-ready implementation of QUIC, HTTP/2, HTTP/3, and related protocols and tools. It powers Google’s servers, Chromium, Envoy, and other projects. It is actively developed and maintained.

There are two public QUICHE repositories. Either one may be used by embedders, as they are automatically kept in sync:

To embed QUICHE in your project, platform APIs need to be implemented and build files need to be created. Note that it is on the QUICHE team's roadmap to include default implementation for all platform APIs and to open-source build files. In the meanwhile, take a look at open source embedders like Chromium and Envoy to get started:

To contribute to QUICHE, follow instructions at CONTRIBUTING.md.

QUICHE is only supported on little-endian platforms.