proxygen
ZlibCertificateCompressor.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-present, Facebook, Inc.
3  * All rights reserved.
4  *
5  * This source code is licensed under the BSD-style license found in the
6  * LICENSE file in the root directory of this source tree.
7  */
8 
9 #pragma once
10 
12 #include <zlib.h>
13 
14 namespace fizz {
16  public:
17  explicit ZlibCertificateCompressor(int compressLevel);
18  ~ZlibCertificateCompressor() override = default;
19 
21 
23 
24  private:
25  const int level_;
26 };
27 } // namespace fizz
CertificateCompressionAlgorithm
Definition: Types.h:167
CertificateCompressionAlgorithm getAlgorithm() const override
~ZlibCertificateCompressor() override=default
CompressedCertificate compress(const CertificateMsg &) override
Definition: Actions.h:16