1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-24 04:01:07 +03:00

remove CustomTransportParameter

Summary: deprecate CustomTransportParameter in favour of ::encodeIntegerParameter

Reviewed By: mjoras

Differential Revision: D50461613

fbshipit-source-id: 86ac95e6f871cef9cb819673387d65f5de42a0b8
This commit is contained in:
Hani Damlaj
2023-11-02 06:01:16 -07:00
committed by Facebook GitHub Bot
parent 905554ecd3
commit 8f742114d9
8 changed files with 57 additions and 125 deletions

View File

@@ -358,10 +358,9 @@ TEST_P(
std::vector<TransportParameter> transportParams;
if (GetParam().peerMaxGroupsIn > 0) {
CustomIntegralTransportParameter streamGroupsEnabledParam(
static_cast<uint64_t>(TransportParameterId::stream_groups_enabled),
GetParam().peerMaxGroupsIn);
transportParams.push_back(streamGroupsEnabledParam.encode());
transportParams.push_back(encodeIntegerParameter(
TransportParameterId::stream_groups_enabled,
GetParam().peerMaxGroupsIn));
}
ClientTransportParameters clientTransportParams = {
std::move(transportParams)};