Revert "chore: add new grpc params for outbound (#2744)"

This reverts commit c49ec9a74c.
This commit is contained in:
Shishkevich D.
2025-03-09 05:37:50 +00:00
parent a16e83468b
commit a23a5de540
4 changed files with 14 additions and 46 deletions

View File

@@ -420,17 +420,20 @@ class WsStreamSettings extends XrayCommonClass {
class GrpcStreamSettings extends XrayCommonClass {
constructor(
serviceName = "",
authority = ""
authority = "",
multiMode = false,
) {
super();
this.serviceName = serviceName;
this.authority = authority;
this.multiMode = multiMode;
}
static fromJson(json = {}) {
return new GrpcStreamSettings(
json.serviceName,
json.authority,
json.multiMode
);
}
@@ -438,6 +441,7 @@ class GrpcStreamSettings extends XrayCommonClass {
return {
serviceName: this.serviceName,
authority: this.authority,
multiMode: this.multiMode,
}
}
}