proxygen
HPACKEncoderBase.cpp
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. An additional grant
7  * of patent rights can be found in the PATENTS file in the same directory.
8  *
9  */
11 
12 namespace proxygen {
13 
15  uint32_t tableCapacity) {
17  "Code assumes these are equal";
19  VLOG(5) << "Encoding table size update size=" << tableCapacity;
20  buf.encodeInteger(tableCapacity, HPACK::TABLE_SIZE_UPDATE);
21  pendingContextUpdate_ = false;
22  }
23 }
24 
25 }
const Instruction TABLE_SIZE_UPDATE
const Instruction Q_TABLE_SIZE_UPDATE
void handlePendingContextUpdate(HPACKEncodeBuffer &buf, uint32_t tableCapacity)
uint32_t encodeInteger(uint64_t value, uint8_t instruction, uint8_t nbit)