mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-17 20:54:40 +03:00
XHTTP: noGRPCHeader
This commit is contained in:
@@ -537,6 +537,7 @@ class SplitHTTPStreamSettings extends XrayCommonClass {
|
||||
cMaxLifetimeMs: 0
|
||||
},
|
||||
mode = MODE_OPTION.AUTO,
|
||||
noGRPCHeader = false,
|
||||
) {
|
||||
super();
|
||||
this.path = path;
|
||||
@@ -549,6 +550,7 @@ class SplitHTTPStreamSettings extends XrayCommonClass {
|
||||
this.xPaddingBytes = xPaddingBytes;
|
||||
this.xmux = xmux;
|
||||
this.mode = mode;
|
||||
this.noGRPCHeader = noGRPCHeader;
|
||||
}
|
||||
|
||||
addHeader(name, value) {
|
||||
@@ -571,6 +573,7 @@ class SplitHTTPStreamSettings extends XrayCommonClass {
|
||||
json.xPaddingBytes,
|
||||
json.xmux,
|
||||
json.mode,
|
||||
json.noGRPCHeader
|
||||
);
|
||||
}
|
||||
|
||||
@@ -591,6 +594,7 @@ class SplitHTTPStreamSettings extends XrayCommonClass {
|
||||
cMaxLifetimeMs: this.xmux.cMaxLifetimeMs
|
||||
},
|
||||
mode: this.mode,
|
||||
noGRPCHeader: this.noGRPCHeader
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user