Simplify LoadBalancerServerId by making the constructors public
and adding an IsValid() method. This allows the constructs to create and
"invalid" server id if the input is invalid, which eliminates the
need for the use of std::optional, and the Create() factory methods.

This also simplifies the LoadBalancerDecoder and makes it more efficient
by avoiding std::optional and increase the impact of copy-elision.

PiperOrigin-RevId: 596671653
8 files changed
tree: e11a174c497244ea2f88edce4cee95836545ee5e
  1. build/
  2. depstool/
  3. quiche/
  4. .bazelrc
  5. .bazelversion
  6. BUILD.bazel
  11. WORKSPACE.bazel


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

QUICHE is only supported on little-endian platforms.