sub: Add ws early data infomation

support VMess, trojan and VLESS.
This commit is contained in:
tdjisdj
2023-06-22 14:31:14 +08:00
parent 1b66701ee6
commit c4b85a05a0

View File

@@ -296,6 +296,8 @@ namespace NekoGui_sub {
}
}
bean->stream->path = Node2QString(ws["path"]);
bean->stream->ws_early_data_length = Node2Int(ws["max-early-data"]);
bean->stream->ws_early_data_name = Node2QString(ws["early-data-header-name"]);
}
auto grpc = NodeChild(proxy, {"grpc-opts", "grpc-opt"});
@@ -329,6 +331,8 @@ namespace NekoGui_sub {
}
}
bean->stream->path = Node2QString(ws["path"]);
bean->stream->ws_early_data_length = Node2Int(ws["max-early-data"]);
bean->stream->ws_early_data_name = Node2QString(ws["early-data-header-name"]);
}
auto grpc = NodeChild(proxy, {"grpc-opts", "grpc-opt"});