2024-06-18 05:36:36 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package xray.transport.internet.splithttp;
|
|
|
|
option csharp_namespace = "Xray.Transport.Internet.SplitHttp";
|
|
|
|
option go_package = "github.com/xtls/xray-core/transport/internet/splithttp";
|
|
|
|
option java_package = "com.xray.transport.internet.splithttp";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
|
|
|
|
message Config {
|
|
|
|
string host = 1;
|
|
|
|
string path = 2;
|
|
|
|
map<string, string> header = 3;
|
2024-07-29 10:10:29 +00:00
|
|
|
RandRangeConfig scMaxConcurrentPosts = 4;
|
|
|
|
RandRangeConfig scMaxEachPostBytes = 5;
|
|
|
|
RandRangeConfig scMinPostsIntervalMs = 6;
|
2024-07-29 06:32:04 +00:00
|
|
|
bool noSSEHeader = 7;
|
2024-08-10 21:47:42 +00:00
|
|
|
RandRangeConfig xPaddingBytes = 8;
|
2024-09-16 12:42:01 +00:00
|
|
|
Multiplexing xmux = 9;
|
2024-07-27 12:52:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message RandRangeConfig {
|
|
|
|
int32 from = 1;
|
|
|
|
int32 to = 2;
|
2024-06-18 05:36:36 +00:00
|
|
|
}
|
2024-09-16 12:42:01 +00:00
|
|
|
|
|
|
|
message Multiplexing {
|
|
|
|
RandRangeConfig maxConnections = 1;
|
|
|
|
RandRangeConfig maxConcurrency = 2;
|
|
|
|
RandRangeConfig cMaxReuseTimes = 3;
|
|
|
|
RandRangeConfig cMaxLifetimeMs = 4;
|
|
|
|
}
|